Principal.FindByIdentityWithType メソッド

定義

指定された ID の種類および値と一致するプリンシパル オブジェクトを返します。 このメソッドは、派生クラスの FindByIdentity メソッドの実装により呼び出され、検索対象を派生クラスに限定します。独自に作成したコードから直接呼び出すためのものではありません。

オーバーロード

FindByIdentityWithType(PrincipalContext, Type, IdentityType, String)

指定された ID の種類および値と一致するプリンシパル オブジェクトを返します。 このメソッドは、派生クラスの FindByIdentity メソッドの実装により呼び出され、検索対象を派生クラスに限定します。独自に作成したコードから直接呼び出すためのものではありません。

FindByIdentityWithType(PrincipalContext, Type, String)

指定された ID の種類および値と一致するプリンシパル オブジェクトを返します。 このメソッドは、派生クラスの FindByIdentity メソッドの実装により呼び出され、検索対象を派生クラスに限定します。独自に作成したコードから直接呼び出すためのものではありません。

FindByIdentityWithType(PrincipalContext, Type, IdentityType, String)

ソース:
Principal.cs
ソース:
Principal.cs
ソース:
Principal.cs

指定された ID の種類および値と一致するプリンシパル オブジェクトを返します。 このメソッドは、派生クラスの FindByIdentity メソッドの実装により呼び出され、検索対象を派生クラスに限定します。独自に作成したコードから直接呼び出すためのものではありません。

protected:
 static System::DirectoryServices::AccountManagement::Principal ^ FindByIdentityWithType(System::DirectoryServices::AccountManagement::PrincipalContext ^ context, Type ^ principalType, System::DirectoryServices::AccountManagement::IdentityType identityType, System::String ^ identityValue);
protected static System.DirectoryServices.AccountManagement.Principal FindByIdentityWithType (System.DirectoryServices.AccountManagement.PrincipalContext context, Type principalType, System.DirectoryServices.AccountManagement.IdentityType identityType, string identityValue);
[System.Security.SecurityCritical]
protected static System.DirectoryServices.AccountManagement.Principal FindByIdentityWithType (System.DirectoryServices.AccountManagement.PrincipalContext context, Type principalType, System.DirectoryServices.AccountManagement.IdentityType identityType, string identityValue);
static member FindByIdentityWithType : System.DirectoryServices.AccountManagement.PrincipalContext * Type * System.DirectoryServices.AccountManagement.IdentityType * string -> System.DirectoryServices.AccountManagement.Principal
[<System.Security.SecurityCritical>]
static member FindByIdentityWithType : System.DirectoryServices.AccountManagement.PrincipalContext * Type * System.DirectoryServices.AccountManagement.IdentityType * string -> System.DirectoryServices.AccountManagement.Principal
Protected Shared Function FindByIdentityWithType (context As PrincipalContext, principalType As Type, identityType As IdentityType, identityValue As String) As Principal

パラメーター

context
PrincipalContext

操作が実行されるサーバーまたはドメインを指定する PrincipalContext

principalType
Type

結果を返す対象のオブジェクトの型。 これは Principal 型、または Principal クラスから派生した型である必要があります。

identityType
IdentityType

ID 値の型を指定する IdentityType 列挙値。

identityValue
String

プリンシパルの ID。

戻り値

指定された ID の値および型と一致する Principal オブジェクト。一致するオブジェクトが見つからなかった場合は null。

属性

適用対象

FindByIdentityWithType(PrincipalContext, Type, String)

ソース:
Principal.cs
ソース:
Principal.cs
ソース:
Principal.cs

指定された ID の種類および値と一致するプリンシパル オブジェクトを返します。 このメソッドは、派生クラスの FindByIdentity メソッドの実装により呼び出され、検索対象を派生クラスに限定します。独自に作成したコードから直接呼び出すためのものではありません。

protected:
 static System::DirectoryServices::AccountManagement::Principal ^ FindByIdentityWithType(System::DirectoryServices::AccountManagement::PrincipalContext ^ context, Type ^ principalType, System::String ^ identityValue);
protected static System.DirectoryServices.AccountManagement.Principal FindByIdentityWithType (System.DirectoryServices.AccountManagement.PrincipalContext context, Type principalType, string identityValue);
[System.Security.SecurityCritical]
protected static System.DirectoryServices.AccountManagement.Principal FindByIdentityWithType (System.DirectoryServices.AccountManagement.PrincipalContext context, Type principalType, string identityValue);
static member FindByIdentityWithType : System.DirectoryServices.AccountManagement.PrincipalContext * Type * string -> System.DirectoryServices.AccountManagement.Principal
[<System.Security.SecurityCritical>]
static member FindByIdentityWithType : System.DirectoryServices.AccountManagement.PrincipalContext * Type * string -> System.DirectoryServices.AccountManagement.Principal
Protected Shared Function FindByIdentityWithType (context As PrincipalContext, principalType As Type, identityValue As String) As Principal

パラメーター

context
PrincipalContext

操作が実行されるサーバーまたはドメインを指定する PrincipalContext

principalType
Type

結果を返す対象のオブジェクトの型。 これは Principal 型、または Principal クラスから派生した型である必要があります。

identityValue
String

プリンシパルの ID。

戻り値

指定された ID の値と型に一致する Principal オブジェクト。一致するオブジェクトが検出されなかった場合は null。

属性

適用対象