PrincipalContext
PrincipalContext(ContextType)
PrincipalContext(ContextType, String)
PrincipalContext(ContextType, String, String)
PrincipalContext(ContextType, String, String, ContextOptions)
PrincipalContext(ContextType, String, String, String)
PrincipalContext(ContextType, String, String, String, String)
PrincipalContext(ContextType, String, String, ContextOptions, String, String)
ConnectedServer
Container
ContextType
Name
Options
UserName
Dispose()
ValidateCredentials(String, String)
ValidateCredentials(String, String, ContextOptions)
net6.0
namespace System.DirectoryServices.AccountManagement
{
public class PrincipalContext : IDisposable
{
public bool ValidateCredentials(string userName, string password);
}
}
NetFx Compat Lab | 0.8 % 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 net6.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