pyjen.user module

Primitives for interacting with Jenkins users

class pyjen.user.User(data_io_controller)[source]

Bases: object

Interface to all primitives associated with a Jenkins user

Instances of this class are typically created using one of the user methods on the Jenkins class, such as find_user()

Parameters:data_io_controller (DataRequester) – class capable of handling common HTTP IO requests sent by this object to the Jenkins REST API
description[source]

Gets some descriptive text associated with the user

Returns:some descriptive text explaining something about this user. May be None if no description found
Return type:str
email[source]

Gets this users’ email address as reported by Jenkins

Returns:email address of this user
Return type:str
full_name[source]

Gets the users full name, typically first and last names separated by a space

Returns:this users’ full name
Return type:str
user_id[source]

Gets the unique identifier for this user

Returns:unique identifier for this user
Return type:str