Principal.FindByIdentityWithType Metoda

Definicja

Zwraca obiekt podmiotu zabezpieczeń, który jest zgodny z określonym typem tożsamości i wartością. Ta metoda jest wywoływana przez implementację metody FindByIdentity klasy pochodnej w celu ograniczenia wyszukiwania do typu klasy pochodnej i nie ma być wywoływana bezpośrednio z kodu.

Przeciążenia

FindByIdentityWithType(PrincipalContext, Type, IdentityType, String)

Zwraca obiekt podmiotu zabezpieczeń, który jest zgodny z określonym typem tożsamości i wartością. Ta metoda jest wywoływana przez implementację metody FindByIdentity klasy pochodnej w celu ograniczenia wyszukiwania do typu klasy pochodnej i nie ma być wywoływana bezpośrednio z kodu.

FindByIdentityWithType(PrincipalContext, Type, String)

Zwraca obiekt podmiotu zabezpieczeń, który jest zgodny z określonym typem tożsamości i wartością. Ta metoda jest wywoływana przez implementację metody FindByIdentity klasy pochodnej w celu ograniczenia wyszukiwania do typu klasy pochodnej i nie ma być wywoływana bezpośrednio z kodu.

FindByIdentityWithType(PrincipalContext, Type, IdentityType, String)

Źródło:
Principal.cs
Źródło:
Principal.cs
Źródło:
Principal.cs

Zwraca obiekt podmiotu zabezpieczeń, który jest zgodny z określonym typem tożsamości i wartością. Ta metoda jest wywoływana przez implementację metody FindByIdentity klasy pochodnej w celu ograniczenia wyszukiwania do typu klasy pochodnej i nie ma być wywoływana bezpośrednio z kodu.

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

Określa PrincipalContext serwer lub domenę, względem których są wykonywane operacje.

principalType
Type

Typ obiektu, dla którego są zwracane wyniki. Musi to być typ Principal lub typ pochodzący z Principal klasy.

identityType
IdentityType

Wartość IdentityType wyliczenia określająca typ wartości tożsamości.

identityValue
String

Tożsamość podmiotu zabezpieczeń.

Zwraca

Principal Obiekt zgodny z określoną wartością tożsamości i typem lub wartością null, jeśli nie znaleziono dopasowań.

Atrybuty

Dotyczy

FindByIdentityWithType(PrincipalContext, Type, String)

Źródło:
Principal.cs
Źródło:
Principal.cs
Źródło:
Principal.cs

Zwraca obiekt podmiotu zabezpieczeń, który jest zgodny z określonym typem tożsamości i wartością. Ta metoda jest wywoływana przez implementację metody FindByIdentity klasy pochodnej w celu ograniczenia wyszukiwania do typu klasy pochodnej i nie ma być wywoływana bezpośrednio z kodu.

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

Określa PrincipalContext serwer lub domenę, względem których są wykonywane operacje.

principalType
Type

Typ obiektu, dla którego są zwracane wyniki. Musi to być typ Principal lub typ pochodzący z Principal klasy.

identityValue
String

Tożsamość podmiotu zabezpieczeń.

Zwraca

Principal Obiekt, który jest zgodny z określoną wartością tożsamości i typem lub wartością null, jeśli nie znaleziono dopasowań.

Atrybuty

Dotyczy