다음을 통해 공유


AuthenticablePrincipal 생성자

정의

AuthenticablePrincipal 클래스의 새 인스턴스를 초기화합니다. 이 생성자는 파생 클래스 생성자에서 호출되어 기본 클래스를 초기화하며 코드에서 직접 사용할 수는 없습니다.

오버로드

AuthenticablePrincipal(PrincipalContext)

지정된 컨텍스트를 사용하여 AuthenticablePrincipal 클래스의 새 인스턴스를 초기화합니다. 이 생성자는 파생 클래스 생성자에서 호출되어 기본 클래스를 초기화하며 코드에서 직접 사용할 수는 없습니다.

AuthenticablePrincipal(PrincipalContext, String, String, Boolean)

지정된 컨텍스트, SAM 계정 이름, 암호 및 enabled 값을 사용하여 AuthenticablePrincipal 클래스의 새 인스턴스를 초기화합니다. 이 생성자는 파생 클래스 생성자에서 호출되어 기본 클래스를 초기화하며 코드에서 직접 사용할 수는 없습니다.

설명

이 클래스에서 파생되는 사용자 지정 확장 클래스는 파생 클래스 생성자에서 이 생성자를 호출하여 기본 클래스를 초기화할 수 있습니다. 자세한 내용은 보안 주체 확장 개요 항목을 참조하세요.

AuthenticablePrincipal(PrincipalContext)

Source:
AuthenticablePrincipal.cs
Source:
AuthenticablePrincipal.cs
Source:
AuthenticablePrincipal.cs

지정된 컨텍스트를 사용하여 AuthenticablePrincipal 클래스의 새 인스턴스를 초기화합니다. 이 생성자는 파생 클래스 생성자에서 호출되어 기본 클래스를 초기화하며 코드에서 직접 사용할 수는 없습니다.

protected public:
 AuthenticablePrincipal(System::DirectoryServices::AccountManagement::PrincipalContext ^ context);
protected internal AuthenticablePrincipal (System.DirectoryServices.AccountManagement.PrincipalContext context);
new System.DirectoryServices.AccountManagement.AuthenticablePrincipal : System.DirectoryServices.AccountManagement.PrincipalContext -> System.DirectoryServices.AccountManagement.AuthenticablePrincipal
Protected Friend Sub New (context As PrincipalContext)

매개 변수

context
PrincipalContext

작업이 수행되는 서버 또는 도메인을 지정하는 PrincipalContext입니다.

설명

이 클래스에서 파생되는 사용자 지정 확장 클래스는 파생 클래스 생성자에서 이 생성자를 호출하여 기본 클래스를 초기화할 수 있습니다. 자세한 내용은 보안 주체 확장 개요 항목을 참조하세요.

적용 대상

AuthenticablePrincipal(PrincipalContext, String, String, Boolean)

Source:
AuthenticablePrincipal.cs
Source:
AuthenticablePrincipal.cs
Source:
AuthenticablePrincipal.cs

지정된 컨텍스트, SAM 계정 이름, 암호 및 enabled 값을 사용하여 AuthenticablePrincipal 클래스의 새 인스턴스를 초기화합니다. 이 생성자는 파생 클래스 생성자에서 호출되어 기본 클래스를 초기화하며 코드에서 직접 사용할 수는 없습니다.

protected public:
 AuthenticablePrincipal(System::DirectoryServices::AccountManagement::PrincipalContext ^ context, System::String ^ samAccountName, System::String ^ password, bool enabled);
protected internal AuthenticablePrincipal (System.DirectoryServices.AccountManagement.PrincipalContext context, string samAccountName, string password, bool enabled);
new System.DirectoryServices.AccountManagement.AuthenticablePrincipal : System.DirectoryServices.AccountManagement.PrincipalContext * string * string * bool -> System.DirectoryServices.AccountManagement.AuthenticablePrincipal
Protected Friend Sub New (context As PrincipalContext, samAccountName As String, password As String, enabled As Boolean)

매개 변수

context
PrincipalContext

작업이 수행되는 서버 또는 도메인을 지정하는 PrincipalContext입니다.

samAccountName
String

이 보안 주체의 SAM 계정 이름입니다.

password
String

이 계정의 암호입니다.

enabled
Boolean

계정을 사용할지 여부를 지정하는 부울 값입니다.

설명

이 클래스에서 파생되는 사용자 지정 확장 클래스는 파생 클래스 생성자에서 이 생성자를 호출하여 기본 클래스를 초기화할 수 있습니다. 자세한 내용은 보안 주체 확장 개요 항목을 참조하세요.

적용 대상