Export (0) Print
Expand All

AuthenticablePrincipal Properties

The AuthenticablePrincipal type exposes the following members.

  Name Description
Public property AccountExpirationDate Gets or sets a Nullable DateTime that specifies the date and time that the account expires.
Public property AccountLockoutTime Gets the Nullable DateTime that specifies the date and time that the account was locked out.
Public property AdvancedSearchFilter Returns an AdvancedSearchFilter object, for use with Query By Example to set read-only properties before passing the object to the PrincipalSearcher.
Public property AllowReversiblePasswordEncryption Gets or sets a Boolean value that specifies whether reversible password encryption is enabled for this account.
Public property BadLogonCount Gets the number of logon attempts using incorrect credentials for this account.
Public property Certificates Gets a X509Certificate2Collection that contains the X509 certificates for this account.
Public property Context Gets a principal context that is associated with the principal. (Inherited from Principal.)
Protected property ContextRaw Gets a principal context that is associated with this principal. (Inherited from Principal.)
Public property ContextType Gets the context type enumeraton value that specifies the type of principal context associated with this principal. (Inherited from Principal.)
Public property DelegationPermitted Gets or sets a Nullable Boolean value that specifies whether the account may be delegated.
Public property Description Gets or sets the description of the principal. (Inherited from Principal.)
Public property DisplayName Gets or sets the display name for this principal. (Inherited from Principal.)
Public property DistinguishedName Gets the distinguished name (DN) for this principal. (Inherited from Principal.)
Public property Enabled Gets or sets a Nullable Boolean value that specifies whether this account is enabled for authentication.
Public property Guid Gets the GUID associated with this principal. (Inherited from Principal.)
Public property HomeDirectory Gets or sets the home directory for this account.
Public property HomeDrive Gets or sets the home drive for this account.
Public property LastBadPasswordAttempt Gets the Nullable DateTime that specifies the date and time of the last incorrect password attempt on this account.
Public property LastLogon Gets the Nullable DateTime that specifies the date and time of the last logon for this account.
Public property LastPasswordSet Gets the Nullable DateTime that specifies the last date and time that the password was set for this account.
Public property Name Gets or sets the name of this principal. (Inherited from Principal.)
Public property PasswordNeverExpires Gets or sets a Boolean value that specifies whether the password expires for this account.
Public property PasswordNotRequired Gets or sets a Boolean value that specifies whether a password is required for this account.
Public property PermittedLogonTimes Gets or sets the times when the principal can logon.
Public property PermittedWorkstations Gets the list of workstations that this principal is permitted to log into.
Public property SamAccountName Gets or sets the SAM account name for this principal. (Inherited from Principal.)
Public property ScriptPath Gets or sets the script path for this account.
Public property Sid Gets the Security ID (SID) of the principal. (Inherited from Principal.)
Public property SmartcardLogonRequired Gets or sets a Boolean value that specifies whether a smartcard is required to log on to the account.
Public property StructuralObjectClass Gets the structural object class directory attribute. (Inherited from Principal.)
Public property UserCannotChangePassword 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.
Public property UserPrincipalName Gets or sets the user principal name (UPN) associated with this principal. (Inherited from Principal.)
Top
Show:
© 2014 Microsoft