AuthenticablePrincipal コンストラクター

定義

AuthenticablePrincipal クラスの新しいインスタンスを初期化します。 このコンストラクターは、派生クラスのコンストラクターによって呼び出され、基本クラスを初期化するものであり、コードから直接使用するためのものではありません。

オーバーロード

AuthenticablePrincipal(PrincipalContext)

指定されたコンテキストを使用して、AuthenticablePrincipal クラスの新しいインスタンスを初期化します。 このコンストラクターは、派生クラスのコンストラクターによって呼び出され、基本クラスを初期化するものであり、コードから直接使用するためのものではありません。

AuthenticablePrincipal(PrincipalContext, String, String, Boolean)

指定したコンテキスト、SAM アカウント名、パスワード、および enabled 値を使用して、AuthenticablePrincipal クラスの新しいインスタンスを初期化します。 このコンストラクターは、派生クラスのコンストラクターによって呼び出され、基本クラスを初期化するものであり、コードから直接使用するためのものではありません。

注釈

このクラスから派生したカスタム拡張クラスは、派生クラス コンストラクターからこのコンストラクターを呼び出して基底クラスを初期化できます。 詳細については、 プリンシパル拡張機能 の概要に関するトピックを参照してください。

AuthenticablePrincipal(PrincipalContext)

ソース:
AuthenticablePrincipal.cs
ソース:
AuthenticablePrincipal.cs
ソース:
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)

ソース:
AuthenticablePrincipal.cs
ソース:
AuthenticablePrincipal.cs
ソース:
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

アカウントが有効かどうかを示すブール値。

注釈

このクラスから派生したカスタム拡張クラスは、派生クラス コンストラクターからこのコンストラクターを呼び出して基底クラスを初期化できます。 詳細については、 プリンシパル拡張機能 の概要に関するトピックを参照してください。

適用対象