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

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

WindowsIdentity.Groups プロパティ

メモ : このプロパティは、.NET Framework version 2.0新しく追加されたものです。

現在の Windows ユーザー属しているグループ取得します

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

Public ReadOnly Property
 Groups As IdentityReferenceCollection
Dim instance As WindowsIdentity
Dim value As IdentityReferenceCollection

value = instance.Groups
public IdentityReferenceCollection Groups { get;
 }
public:
property IdentityReferenceCollection^ Groups {
    IdentityReferenceCollection^ get ();
}
/** @property */
public IdentityReferenceCollection get_Groups ()
public function get Groups
 () : IdentityReferenceCollection

プロパティ
現在の Windows ユーザー属しているグループを表す IdentityReferenceCollection オブジェクト

使用例使用例

Groups プロパティ使用して現在のユーザー属しているグループID 参照表示する方法次のコード例示します。このコード例は、WindowsIdentity クラストピック取り上げているコード例一部分です。

Dim authenticationType = "WindowsAuthentication"
Dim windowsIdentity As _
    New WindowsIdentity(logonToken, authenticationType)
string authenticationType = "WindowsAuthentication";
WindowsIdentity windowsIdentity =
    new WindowsIdentity(logonToken, authenticationType);
String^ authenticationType = "WindowsAuthentication";
WindowsIdentity^ windowsIdentity = gcnew WindowsIdentity( logonToken,authenticationType
 );

String authenticationType = "WindowsAuthentication";
WindowsIdentity windowsIdentity =
    new WindowsIdentity(logonToken, authenticationType);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
WindowsIdentity クラス
WindowsIdentity メンバ
System.Security.Principal 名前空間



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

辞書ショートカット

すべての辞書の索引

「WindowsIdentity.Groups プロパティ」の関連用語

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

   

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



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

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

©2024 GRAS Group, Inc.RSS