Sdílet prostřednictvím


Principal.FindByIdentityWithType Metoda

Definice

Vrátí objekt principal, který odpovídá zadanému typu identity a hodnotě. Tato metoda je volána implementací metody odvozené třídy FindByIdentity k omezení vyhledávání na odvozený typ třídy a není určena k přímému zavolání z vašeho kódu.

Přetížení

FindByIdentityWithType(PrincipalContext, Type, IdentityType, String)

Vrátí objekt principal, který odpovídá zadanému typu identity a hodnotě. Tato metoda je volána implementací metody odvozené třídy FindByIdentity k omezení vyhledávání na odvozený typ třídy a není určena k přímému zavolání z vašeho kódu.

FindByIdentityWithType(PrincipalContext, Type, String)

Vrátí objekt principal, který odpovídá zadanému typu identity a hodnotě. Tato metoda je volána implementací metody odvozené třídy FindByIdentity k omezení vyhledávání na odvozený typ třídy a není určena k přímému zavolání z vašeho kódu.

FindByIdentityWithType(PrincipalContext, Type, IdentityType, String)

Zdroj:
Principal.cs
Zdroj:
Principal.cs
Zdroj:
Principal.cs

Vrátí objekt principal, který odpovídá zadanému typu identity a hodnotě. Tato metoda je volána implementací metody odvozené třídy FindByIdentity k omezení vyhledávání na odvozený typ třídy a není určena k přímému zavolání z vašeho kódu.

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

Parametry

context
PrincipalContext

Určuje PrincipalContext server nebo doménu, se kterou se operace provádějí.

principalType
Type

Typ objektu, pro který jsou vráceny výsledky. Musí to být typ Principal nebo typ odvozený z Principal třídy .

identityType
IdentityType

Hodnota IdentityType výčtu, která určuje typ hodnoty identity.

identityValue
String

Identita objektu zabezpečení.

Návraty

Objekt Principal , který odpovídá zadané hodnotě identity a typu, nebo null, pokud nejsou nalezeny žádné shody.

Atributy

Platí pro

FindByIdentityWithType(PrincipalContext, Type, String)

Zdroj:
Principal.cs
Zdroj:
Principal.cs
Zdroj:
Principal.cs

Vrátí objekt principal, který odpovídá zadanému typu identity a hodnotě. Tato metoda je volána implementací metody odvozené třídy FindByIdentity k omezení vyhledávání na odvozený typ třídy a není určena k přímému zavolání z vašeho kódu.

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

Parametry

context
PrincipalContext

Určuje PrincipalContext server nebo doménu, se kterou se operace provádějí.

principalType
Type

Typ objektu, pro který jsou vráceny výsledky. Musí to být typ Principal nebo typ odvozený z Principal třídy .

identityValue
String

Identita objektu zabezpečení.

Návraty

Objekt Principal , který odpovídá zadané hodnotě a typu identity, nebo null, pokud nejsou nalezeny žádné shody.

Atributy

Platí pro