GenericIdentity.AuthenticationType 属性
定义
获取用于标识用户的身份验证的类型。Gets the type of authentication used to identify the user.
public:
virtual property System::String ^ AuthenticationType { System::String ^ get(); };
public override string AuthenticationType { get; }
public virtual string AuthenticationType { get; }
member this.AuthenticationType : string
Public Overrides ReadOnly Property AuthenticationType As String
Public Overridable ReadOnly Property AuthenticationType As String
属性值
用于标识用户的身份验证的类型。The type of authentication used to identify the user.
实现
示例
下面的代码演示属性的用法 AuthenticationType 。The following code shows the use of the AuthenticationType property. 此代码示例是为类提供的更大示例的一部分 GenericIdentity 。This code example is part of a larger example provided for the GenericIdentity class.
String^ identityAuthenticationType = genericIdentity->AuthenticationType;
string identityAuthenticationType =
genericIdentity.AuthenticationType;
Dim identityAuthenticationType As String
identityAuthenticationType = genericIdentity.AuthenticationType()