UserPrincipal Properties

 

Namespace:   System.DirectoryServices.AccountManagement
Assembly:  System.DirectoryServices.AccountManagement (in System.DirectoryServices.AccountManagement.dll)

NameDescription
System_CAPS_pubpropertyAccountExpirationDate

Gets or sets a Nullable DateTime that specifies the date and time that the account expires. (Inherited from AuthenticablePrincipal.)

System_CAPS_pubpropertyAccountLockoutTime

Gets the Nullable DateTime that specifies the date and time that the account was locked out. (Inherited from AuthenticablePrincipal.)

System_CAPS_pubpropertyAdvancedSearchFilter

Returns an AdvancedFilters object to set read-only properties before passing the object to the PrincipalSearcher.(Overrides AuthenticablePrincipal.AdvancedSearchFilter.)

System_CAPS_pubpropertyAllowReversiblePasswordEncryption

Gets or sets a Boolean value that specifies whether reversible password encryption is enabled for this account. (Inherited from AuthenticablePrincipal.)

System_CAPS_pubpropertyBadLogonCount

Gets the number of logon attempts using incorrect credentials for this account. (Inherited from AuthenticablePrincipal.)

System_CAPS_pubpropertyCertificates

Gets a X509Certificate2Collection that contains the X509 certificates for this account. (Inherited from AuthenticablePrincipal.)

System_CAPS_pubpropertyContext

Gets a principal context that is associated with the principal. (Inherited from Principal.)

System_CAPS_protpropertyContextRaw

Gets a principal context that is associated with this principal. (Inherited from Principal.)

System_CAPS_pubpropertyContextType

Gets the context type enumeraton value that specifies the type of principal context associated with this principal. (Inherited from Principal.)

System_CAPS_pubpropertySystem_CAPS_staticCurrent

Gets a user principal object that represents the current user under which the thread is running.

System_CAPS_pubpropertyDelegationPermitted

Gets or sets a Nullable Boolean value that specifies whether the account may be delegated. (Inherited from AuthenticablePrincipal.)

System_CAPS_pubpropertyDescription

Gets or sets the description of the principal. (Inherited from Principal.)

System_CAPS_pubpropertyDisplayName

Gets or sets the display name for this principal.(Inherited from Principal.)

System_CAPS_pubpropertyDistinguishedName

Gets the distinguished name (DN) for this principal.(Inherited from Principal.)

System_CAPS_pubpropertyEmailAddress

Gets or sets the e-mail address for this account.

System_CAPS_pubpropertyEmployeeId

Gets or sets the employee ID for this user principal.

System_CAPS_pubpropertyEnabled

Gets or sets a Nullable Boolean value that specifies whether this account is enabled for authentication. (Inherited from AuthenticablePrincipal.)

System_CAPS_pubpropertyGivenName

Gets or sets the given name for the user principal.

System_CAPS_pubpropertyGuid

Gets the GUID associated with this principal. (Inherited from Principal.)

System_CAPS_pubpropertyHomeDirectory

Gets or sets the home directory for this account. (Inherited from AuthenticablePrincipal.)

System_CAPS_pubpropertyHomeDrive

Gets or sets the home drive for this account. (Inherited from AuthenticablePrincipal.)

System_CAPS_pubpropertyLastBadPasswordAttempt

Gets the Nullable DateTime that specifies the date and time of the last incorrect password attempt on this account. (Inherited from AuthenticablePrincipal.)

System_CAPS_pubpropertyLastLogon

Gets the Nullable DateTime that specifies the date and time of the last logon for this account. (Inherited from AuthenticablePrincipal.)

System_CAPS_pubpropertyLastPasswordSet

Gets the Nullable DateTime that specifies the last date and time that the password was set for this account. (Inherited from AuthenticablePrincipal.)

System_CAPS_pubpropertyMiddleName

Gets or sets the middle name for the user principal.

System_CAPS_pubpropertyName

Gets or sets the name of this principal. (Inherited from Principal.)

System_CAPS_pubpropertyPasswordNeverExpires

Gets or sets a Boolean value that specifies whether the password expires for this account. (Inherited from AuthenticablePrincipal.)

System_CAPS_pubpropertyPasswordNotRequired

Gets or sets a Boolean value that specifies whether a password is required for this account. (Inherited from AuthenticablePrincipal.)

System_CAPS_pubpropertyPermittedLogonTimes

Gets or sets the times when the principal can logon. (Inherited from AuthenticablePrincipal.)

System_CAPS_pubpropertyPermittedWorkstations

Gets the list of workstations that this principal is permitted to log into. (Inherited from AuthenticablePrincipal.)

System_CAPS_pubpropertySamAccountName

Gets or sets the SAM account name for this principal. (Inherited from Principal.)

System_CAPS_pubpropertyScriptPath

Gets or sets the script path for this account. (Inherited from AuthenticablePrincipal.)

System_CAPS_pubpropertySid

Gets the Security ID (SID) of the principal. (Inherited from Principal.)

System_CAPS_pubpropertySmartcardLogonRequired

Gets or sets a Boolean value that specifies whether a smartcard is required to log on to the account. (Inherited from AuthenticablePrincipal.)

System_CAPS_pubpropertyStructuralObjectClass

Gets the structural object class directory attribute.(Inherited from Principal.)

System_CAPS_pubpropertySurname

Gets or sets the surname for the user principal.

System_CAPS_pubpropertyUserCannotChangePassword

Gets or sets a Boolean value that specifies whether the user can change the password for this account. Do not use this with a ComputerPrincipal.(Inherited from AuthenticablePrincipal.)

System_CAPS_pubpropertyUserPrincipalName

Gets or sets the user principal name (UPN) associated with this principal. (Inherited from Principal.)

System_CAPS_pubpropertyVoiceTelephoneNumber

Gets or sets the voice telephone number for the user principal.

Return to top
Show: