Aracılığıyla paylaş


Principal.FindByIdentityWithType Yöntem

Tanım

Belirtilen kimlik türü ve değeriyle eşleşen bir asıl nesne döndürür. Bu yöntem, aramayı türetilmiş sınıf türüyle kısıtlamak için türetilmiş sınıf FindByIdentity yönteminin uygulanması tarafından çağrılır ve doğrudan kodunuzdan çağrılması amaçlanmamıştır.

Aşırı Yüklemeler

FindByIdentityWithType(PrincipalContext, Type, IdentityType, String)

Belirtilen kimlik türü ve değeriyle eşleşen bir asıl nesne döndürür. Bu yöntem, aramayı türetilmiş sınıf türüyle kısıtlamak için türetilmiş sınıf FindByIdentity yönteminin uygulanması tarafından çağrılır ve doğrudan kodunuzdan çağrılması amaçlanmamıştır.

FindByIdentityWithType(PrincipalContext, Type, String)

Belirtilen kimlik türü ve değeriyle eşleşen bir asıl nesne döndürür. Bu yöntem, aramayı türetilmiş sınıf türüyle kısıtlamak için türetilmiş sınıf FindByIdentity yönteminin uygulanması tarafından çağrılır ve doğrudan kodunuzdan çağrılması amaçlanmamıştır.

FindByIdentityWithType(PrincipalContext, Type, IdentityType, String)

Kaynak:
Principal.cs
Kaynak:
Principal.cs
Kaynak:
Principal.cs

Belirtilen kimlik türü ve değeriyle eşleşen bir asıl nesne döndürür. Bu yöntem, aramayı türetilmiş sınıf türüyle kısıtlamak için türetilmiş sınıf FindByIdentity yönteminin uygulanması tarafından çağrılır ve doğrudan kodunuzdan çağrılması amaçlanmamıştır.

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

Parametreler

context
PrincipalContext

üzerinde PrincipalContext işlemlerin gerçekleştirildiği sunucuyu veya etki alanını belirten.

principalType
Type

Sonuçların döndürüldiği nesnenin türü. Bu tür Principal veya sınıfından Principal türetilmiş bir tür olmalıdır.

identityType
IdentityType

IdentityType Kimlik değerinin türünü belirten bir numaralandırma değeri.

identityValue
String

Sorumlunun kimliği.

Döndürülenler

Principal Belirtilen kimlik değeriyle eşleşen bir nesne ve eşleşme bulunamazsa null yazın.

Öznitelikler

Şunlara uygulanır

FindByIdentityWithType(PrincipalContext, Type, String)

Kaynak:
Principal.cs
Kaynak:
Principal.cs
Kaynak:
Principal.cs

Belirtilen kimlik türü ve değeriyle eşleşen bir asıl nesne döndürür. Bu yöntem, aramayı türetilmiş sınıf türüyle kısıtlamak için türetilmiş sınıf FindByIdentity yönteminin uygulanması tarafından çağrılır ve doğrudan kodunuzdan çağrılması amaçlanmamıştır.

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

Parametreler

context
PrincipalContext

üzerinde PrincipalContext işlemlerin gerçekleştirildiği sunucuyu veya etki alanını belirten.

principalType
Type

Sonuçların döndürüldiği nesnenin türü. Bu tür Principal veya sınıfından Principal türetilmiş bir tür olmalıdır.

identityValue
String

Sorumlunun kimliği.

Döndürülenler

Principal Belirtilen kimlik değeri ve türüyle eşleşen bir nesne veya eşleşme bulunmazsa null.

Öznitelikler

Şunlara uygulanır