pyjen.user module

Primitives for interacting with Jenkins users

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

Bases: object

Interface to all primitives associated with a Jenkins user

See author() and find_user() for examples on where this class is used.

Parameters

api (JenkinsAPI) – Pre-initialized connection to the Jenkins REST API

property description

descriptive text associated with the user. May be an empty string.

Type

str

property email

Gets this users’ email address as reported by Jenkins. May be None if no email on record for user.

Type

str

property full_name

the users first and last names separated by a space

Type

str

property user_id

the unique identifier for this user

Type

str