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()
net7.0
namespace System.DirectoryServices.AccountManagement
{
[DirectoryRdnPrefix("CN")]
public class UserPrincipal : AuthenticablePrincipal
{
public static UserPrincipal FindByIdentity(PrincipalContext context, IdentityType identityType, string identityValue);
}
}
NetFx Compat Lab | 1.0 %
Reference this API |
---|---|
nuget.org | 0.0 %
Reference this API |
Upgrade Planner | 0.1 %
Reference this API |
.NET | 5.06.07.08.09.010.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 net7.0 | |
Assembly | System.DirectoryServices.AccountManagement , Version=4.0.0.0, PublicKeyToken=b77a5c561934e089 |
Referencing | Your project needs a package reference to |
Package | System.DirectoryServices.AccountManagement (10.0.0-preview.1.25080.5) netstandard2.0 |
Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API