次の方法で共有


GenericIdentity.Name プロパティ

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

Public Overridable ReadOnly Property Name As String  Implements _   IIdentity.Name
[C#]
public virtual string Name {get;}
[C++]
public: __property virtual String* get_Name();
[JScript]
public function get Name() : String;

プロパティ値

コードが実行されている対象ユーザーの名前。

実装

IIdentity.Name

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

GenericIdentity クラス | GenericIdentity メンバ | System.Security.Principal 名前空間