.Net Framework > v3.5.21022.8 > System > DirectoryServices > AccountManagement > UserPrincipal UserPrincipal
Category
Class
Description
Encapsulates principals that are user accounts.
Assembly
System.DirectoryServices.AccountManagement
Character
public
Attributes
NameValue/Assignment
SecurityCriticalAttributeSystem.Security.SecurityCriticalScope.Everything
DirectoryRdnPrefixAttributeCN
DirectoryServicesPermissionAttributeSystem.Security.Permissions.SecurityAction.LinkDemand; Unrestricted=True
DirectoryServicesPermissionAttributeSystem.Security.Permissions.SecurityAction.InheritanceDemand; Unrestricted=True
Ancestors
AuthenticablePrincipal > Principal > Object
Contstructors
UserPrincipal(PrincipalContext)
UserPrincipal(PrincipalContext,String,String,Boolean)
Properties
AdvancedSearchFilter
Current
EmailAddress
EmployeeId
GivenName
MiddleName
Surname
VoiceTelephoneNumber
Methods
FindByBadPasswordAttempt(PrincipalContext,DateTime,MatchType)
FindByExpirationTime(PrincipalContext,DateTime,MatchType)
FindByIdentity(PrincipalContext,IdentityType,String)
FindByIdentity(PrincipalContext,String)
FindByLockoutTime(PrincipalContext,DateTime,MatchType)
FindByLogonTime(PrincipalContext,DateTime,MatchType)
FindByPasswordSetTime(PrincipalContext,DateTime,MatchType)
GetAuthorizationGroups()
Tags
0103E2B958, 02E3ABA98D, 0322962271
Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples