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

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

WindowsAuthenticationEventArgs.Identity プロパティ

WindowsAuthenticationEventArgs コンストラクタ渡される Windows ID取得します

名前空間: System.Web.Security
アセンブリ: System.Web (system.web.dll 内)
構文構文

Dim instance As WindowsAuthenticationEventArgs
Dim value As WindowsIdentity

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

プロパティ
WindowsAuthenticationEventArgs コンストラクタ渡されWindows ID

解説解説

WindowsAuthenticationModule は、IIS によって提供されWindows ID現在の HttpContext を使用して WindowsAuthenticationEventArgs オブジェクト構築し、それを WindowsAuthentication_OnAuthenticate イベント渡します

IIS匿名認証使用する場合Identity プロパティには、GetAnonymous メソッドによって返される ID設定されます。

使用例使用例

WindowsAuthentication_OnAuthenticate イベント使用して現在の HttpContextUser プロパティカスタム IPrincipal オブジェクト設定するコード例次に示します

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
WindowsAuthenticationEventArgs クラス
WindowsAuthenticationEventArgs メンバ
System.Web.Security 名前空間
その他の技術情報
Windows 認証プロバイダ


このページでは「.NET Framework クラス ライブラリ リファレンス」からWindowsAuthenticationEventArgs.Identity プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からWindowsAuthenticationEventArgs.Identity プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からWindowsAuthenticationEventArgs.Identity プロパティ を検索

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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS