GenericIdentity.AuthenticationType 屬性

定義

取得用來識別使用者的驗證類型。

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

屬性值

用來識別使用者的驗證類型。

實作

範例

下列程式碼顯示 屬性的使用 AuthenticationType 。 此程式碼範例是提供給 類別之較大範例的 GenericIdentity 一部分。

String^ identityAuthenticationType = genericIdentity->AuthenticationType;
string identityAuthenticationType = 
    genericIdentity.AuthenticationType;
Dim identityAuthenticationType As String
identityAuthenticationType = genericIdentity.AuthenticationType()

適用於