IIdentity インターフェイス

定義

ID オブジェクトの基本機能を定義します。

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
派生
属性

注釈

ID オブジェクトは、コードが実行されているユーザーを表します。 このインターフェイスは、クラスWindowsIdentityによってGenericIdentity実装されます。

プロパティ

AuthenticationType

使用されている認証の種類を取得します。

IsAuthenticated

ユーザーが認証されているかどうかを示す値を取得します。

Name

現在のユーザーの名前を取得します。

適用対象