UserPrincipal
UserPrincipal(PrincipalContext)
UserPrincipal(PrincipalContext, String, String, Boolean)
AdvancedSearchFilter
Current
EmailAddress
EmployeeId
GivenName
MiddleName
Surname
VoiceTelephoneNumber
FindByBadPasswordAttempt(PrincipalContext, DateTime, MatchType)
FindByExpirationTime(PrincipalContext, DateTime, MatchType)
FindByIdentity(PrincipalContext, String)
FindByIdentity(PrincipalContext, IdentityType, String)
FindByLockoutTime(PrincipalContext, DateTime, MatchType)
FindByLogonTime(PrincipalContext, DateTime, MatchType)
FindByPasswordSetTime(PrincipalContext, DateTime, MatchType)
GetAuthorizationGroups()
net11.0-windows7.0
namespace System.DirectoryServices.AccountManagement
{
[DirectoryRdnPrefix("CN")]
public class UserPrincipal : AuthenticablePrincipal
{
public static PrincipalSearchResult<UserPrincipal> FindByLockoutTime(PrincipalContext context, DateTime time, MatchType type);
}
}
| .NET | 5.06.07.08.09.010.011.0 |
|---|---|
| .NET Core | 2.02.12.23.03.1 |
| .NET Framework | 3.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
| .NET Standard | 2.02.1 |
Information specific to net11.0 | |
| Platforms | This API is only available when you target a specific platform: |
| Windows | 7.0 |
Information specific to net11.0-windows7.0 | |
| Assemblies | System.DirectoryServices.AccountManagement , Version=10.0.0.13, PublicKeyToken=b77a5c561934e089 System.DirectoryServices.AccountManagement , Version=4.0.0.0, PublicKeyToken=b77a5c561934e089 |
| Referencing | Your project needs a package reference to |
| Package | System.DirectoryServices.AccountManagement (10.0.13) net9.0 |
| Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API