Principal.FindByIdentityWithType 方法    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回与指定标识类型相匹配的主体对象和值。 此方法由派生类 FindByIdentity 方法的实现调用,将搜索限制为派生类类型,不适合直接从代码中调用。
重载
| FindByIdentityWithType(PrincipalContext, Type, IdentityType, String) | 
						 返回与指定标识类型相匹配的主体对象和值。 此方法由派生类 FindByIdentity 方法的实现调用,将搜索限制为派生类类型,不适合直接从代码中调用。  | 
        	
| FindByIdentityWithType(PrincipalContext, Type, String) | 
						 返回与指定标识类型相匹配的主体对象和值。 此方法由派生类 FindByIdentity 方法的实现调用,将搜索限制为派生类类型,不适合直接从代码中调用。  | 
        	
FindByIdentityWithType(PrincipalContext, Type, IdentityType, String)
- Source:
 - Principal.cs
 
- Source:
 - Principal.cs
 
- Source:
 - Principal.cs
 
返回与指定标识类型相匹配的主体对象和值。 此方法由派生类 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,用于指定要对其执行操作的服务器或域。
- identityType
 - IdentityType
 
一个 IdentityType 枚举值,该值指定标识值的类型。
- identityValue
 - String
 
主体的标识。
返回
与指定标识值和类型相匹配的 Principal 对象;若未找到匹配则为 null。
- 属性
 
适用于
FindByIdentityWithType(PrincipalContext, Type, String)
- Source:
 - Principal.cs
 
- Source:
 - Principal.cs
 
- Source:
 - Principal.cs
 
返回与指定标识类型相匹配的主体对象和值。 此方法由派生类 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,用于指定要对其执行操作的服务器或域。
- identityValue
 - String
 
主体的标识。
返回
与指定标识值和类型相匹配的 Principal 对象;若未找到匹配,则为 null。
- 属性