User
Object represent user object and extends UserDBObject.
Instance attributes
- description: String
-
Description
- flags: int
-
Flags
- guid: String
-
GUID
- id: int
-
Id
- isDeleted: bool
-
TRUEif user DB object is deleted
- isDisabled: bool
-
TRUEif user DB object is disabled
- isGroup: bool
-
TRUEif user DB object is group object: UserGroup
- isModified: bool
-
TRUEif user DB object is modified
- isLDAPUser: bool
-
TRUEif user DB object is synchronized from LDAP
- ldapDN: String
-
LDAP distinguished name (DN) of the user DB object
- ldapId: String
-
Get user DB object LDAP id (value depends on the field that is used as LDAP object id)
- name: String
-
Object name
- systemRights: int64
-
Field with system rights as bit flags.
- authMethod: int
- certMappingData: String
-
Data that will be used to map certificate
- certMappingMethod: int
- disabledUntil: int
-
UNIX timestamp with date until this user is disabled
- email: String
-
Email set in user properties
- fullName: String
-
User full name
- graceLogins: int
-
Grace login count
- is2FAExempt: bool
-
TRUEif user is exempt from two-factor authentication enforcement.
- phoneNumber: String
-
Phone number set in user properties
- lastLogin: int
-
UNIX timestamp with last user’s login time
- twoFAGraceLogins: int
-
Number of remaining logins allowed without two-factor authentication while two-factor authentication enforcement is active and the user has not configured a second factor yet. Initial value is set by server configuration variable
Server.Security.2FA.GraceLoginCount.