GenericPrincipal.Identity プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > GenericPrincipal.Identity プロパティの意味・解説 

GenericPrincipal.Identity プロパティ

現在の GenericPrincipal によって表されるユーザーの GenericIdentity を取得します

名前空間: System.Security.Principal
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Public Overridable ReadOnly
 Property Identity As IIdentity
Dim instance As GenericPrincipal
Dim value As IIdentity

value = instance.Identity
public virtual IIdentity Identity { get; }
public:
virtual property IIdentity^ Identity {
    IIdentity^ get ();
}
/** @property */
public IIdentity get_Identity ()

プロパティ
GenericPrincipal によって表されるユーザーGenericIdentity

使用例使用例

Identity プロパティ使用方法次のコード示します。このコード例は、GenericPrincipal クラストピック取り上げているコード例一部分です。

Dim principalIdentity As GenericIdentity =
 _
    CType(genericPrincipal.Identity, GenericIdentity)
GenericIdentity principalIdentity = 
    (GenericIdentity)genericPrincipal.Identity;
GenericIdentity^ principalIdentity =
   dynamic_cast<GenericIdentity^>(genericPrincipal->Identity);
GenericIdentity principalIdentity = (GenericIdentity)
    (genericPrincipal.get_Identity());
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
GenericPrincipal クラス
GenericPrincipal メンバ
System.Security.Principal 名前空間



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「GenericPrincipal.Identity プロパティ」の関連用語

GenericPrincipal.Identity プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



GenericPrincipal.Identity プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS