Click or drag to resize
Galactic API

User Properties

The User type exposes the following members.

Properties
  NameDescription
Public propertyBadPasswordCount
The number of times the user has entered a bad password. Returns a negative number is there is an error retrieving the value.
Public propertyBadPasswordTime
The last time that the user entered a bad password when authenticating to AD.
Public propertyCommonName
The Common Name (CN) of the object in Active Directory.
(Inherited from ActiveDirectoryObject.)
Public propertyCreateTimeStamp
The time the object was created in UTC.
(Inherited from ActiveDirectoryObject.)
Public propertyDepartment
The Department the user belongs to.
Public propertyDescription
A description of the security principal.
(Inherited from SecurityPrincipal.)
Public propertyDisplayName
The user's display name.
Public propertyDistinguishedName
The Distinguished Name (DN) of the object in Active Directory.
(Inherited from ActiveDirectoryObject.)
Public propertyDivision
The user's division in the organization.
Public propertyEMailAddress
The principal's e-mail address.
(Inherited from SecurityPrincipal.)
Public propertyEmailAddresses
A list of the principal's e-mail addresses.
(Inherited from SecurityPrincipal.)
Public propertyEmployeeId
The Employee Id of the user.
Public propertyEmployeeNumber
The employee number of the user.
Public propertyExchangeAlias
The principal's Microsoft Exchange Alias.
(Inherited from SecurityPrincipal.)
Public propertyFirstName
The user's first name.
Public propertyFTPDirectory
The FTP Directory for the user off the FTP root.
Public propertyFTPRoot
The root directory for FTP access by the user.
Public propertyGroups
The distinguished names of groups that this principal is a member of.
(Inherited from SecurityPrincipal.)
Public propertyGUID
The GUID of the object in Active Directory.
(Inherited from ActiveDirectoryObject.)
Public propertyHomeDirectory
The path to the user's home directory.
Public propertyHomeDrive
The user's home drive letter.
Public propertyHomePage
The user's home page URL.
Public propertyIsDisabled
Whether the user's account is disabled in Active Directory.
Public propertyIsGroup
Indicates if this principal is a Group.
(Inherited from SecurityPrincipal.)
Public propertyIsUser
Indicates if this principal is a User.
(Inherited from SecurityPrincipal.)
Public propertyLastName
The user's last name.
Public propertyLogonScript
The path to the user's logon script.
Public propertyManager
The distinguished name of the user's Manager.
Public propertyMustChangePasswordAtNextLogon
Whether the user has to change their password at their next logon.
Public propertyOrganizationalUnit
The distinguished name of the organizational unit or parent object containing the object.
(Inherited from ActiveDirectoryObject.)
Public propertyPasswordExpired
Whether the user's password has expired.
Public propertyPasswordLastSet
The date and time that the user's password was last site.
Public propertyPhoneNumber
The user's telephone number.
Public propertyPrimaryEmailAddress
The principal's primary e-mail address.
(Inherited from SecurityPrincipal.)
Public propertySAMAccountName
The principal's SAM Account Name.
(Inherited from SecurityPrincipal.)
Public propertySchemaClasses
The schema class types that identify the type of object this is in Active Directory. Examples: group, user, etc.
(Inherited from ActiveDirectoryObject.)
Public propertySecurityIdentifier
The user's security identifier (SID).
Public propertyStreetAddress
The user's street address.
Public propertyTargetAddress
The principal's target e-mail address. Used by Exchange for routing e-mail to its final destination which may lie outside of the organization. Allows for an object to appear in the GAL even though its e-mail address may be outside of Exchange. Also used when routing e-mail to the Microsoft Office365 cloud from an on-premises Exchange server.
(Inherited from SecurityPrincipal.)
Public propertyTitle
The user's title.
Public propertyUserAccountControl
Gets the user's UserAccountControl property. A return of 0 means there was an error retrieving the property.
Public propertyUserAccountControlComputed
Gets the user's computed UserAccountControl property. A return value of 0 means it wasn't computed.
Public propertyUserPrincipalName
The User Principal Name of the principal.
(Inherited from SecurityPrincipal.)
Top
See Also