User#
- class User(username=None, user_type=None, idp_id=None, display_name=None, first_name=None, middle_initial=None, last_name=None, email_id=None, locale=None, region=None, password=None, is_force_reset_password_enabled=None, additional_attributes=None, status=None, buckets_access_keys=None, last_login_time=None, created_time=None, last_updated_time=None, created_by=None, last_updated_by=None, description=None, creation_type=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#
Bases:
ExternalizableAbstractModelInformation of the user.
- Parameters:
username (min=1 chars, max=255 chars) – (
username) Identifier of the user.user_type – (
user_type)idp_id – (
idp_id) Identifier of the IDP for the user.display_name (min=1 chars, max=255 chars) – (
display_name) Display name of the user. For LDAP and SAML users, this is set from AD config.first_name (min=1 chars, max=255 chars) – (
first_name) First name of the user.middle_initial (min=1 chars, max=255 chars) – (
middle_initial) Middle name of the user.last_name (min=1 chars, max=255 chars) – (
last_name) Last name of the user.email_id (max=255 chars) – (
email_id) Email ID of the user.locale – (
locale) Default locale of the user.region – (
region) Default region of the user.password – (
password) Password of the user.is_force_reset_password_enabled – (
is_force_reset_password_enabled) Flag to force the user to reset password.additional_attributes – (
additional_attributes) Indicates additional attributes of the user.status – (
status)buckets_access_keys – (
buckets_access_keys) Bucket access keys for the user.last_login_time – (
last_login_time) The last successful login time for the user.created_time – (
created_time) Creation time of the user.last_updated_time – (
last_updated_time) The last updated time for the user.created_by – (
created_by) User or Service who created the user.last_updated_by – (
last_updated_by) Last updated by this user ID.description – (
description) Description of the user.creation_type – (
creation_type)
- property buckets_access_keys#
Bucket access keys for the user.
- Type:
list[
BucketsAccessKey]
- property created_by#
User or Service who created the user.
- Type:
str
- property created_time#
Creation time of the user.
- Type:
datetime
- property creation_type#
- Type:
- property description#
Description of the user.
- Type:
str
- property display_name#
Display name of the user. For LDAP and SAML users, this is set from AD config.
- Type:
str
- property email_id#
Email ID of the user.
- Type:
str
- property first_name#
First name of the user.
- Type:
str
- property idp_id#
Identifier of the IDP for the user.
- Type:
str
- property is_force_reset_password_enabled#
Flag to force the user to reset password.
- Type:
bool
- property last_login_time#
The last successful login time for the user.
- Type:
datetime
- property last_name#
Last name of the user.
- Type:
str
- property last_updated_by#
Last updated by this user ID.
- Type:
str
- property last_updated_time#
The last updated time for the user.
- Type:
datetime
- property locale#
Default locale of the user.
- Type:
str
- property middle_initial#
Middle name of the user.
- Type:
str
- property password#
Password of the user.
- Type:
str
- property region#
Default region of the user.
- Type:
str
- property status#
- Type:
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model
- property username#
Identifier of the user.
- Type:
str