IIdentity 介面

定義

定義身分識別物件的基本功能。

public interface class IIdentity
public interface IIdentity
[System.Runtime.InteropServices.ComVisible(true)]
public interface IIdentity
type IIdentity = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
type IIdentity = interface
Public Interface IIdentity
衍生
屬性

備註

身分識別物件代表執行程式碼的使用者。 這個介面是由 和 WindowsIdentity 類別實 GenericIdentity 作。

屬性

AuthenticationType

取得所使用的驗證 (Authentication) 類型。

IsAuthenticated

取得值,表示使用者是否已經驗證。

Name

取得目前使用者的名稱。

適用於