SamlSecurityTokenHandler.CreateWindowsIdentity(String) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定したユーザー プリンシパル名 (UPN) を使用して WindowsIdentity オブジェクトを作成します。
protected:
virtual System::Security::Principal::WindowsIdentity ^ CreateWindowsIdentity(System::String ^ upn);
protected virtual System.Security.Principal.WindowsIdentity CreateWindowsIdentity (string upn);
abstract member CreateWindowsIdentity : string -> System.Security.Principal.WindowsIdentity
override this.CreateWindowsIdentity : string -> System.Security.Principal.WindowsIdentity
Protected Overridable Function CreateWindowsIdentity (upn As String) As WindowsIdentity
パラメーター
- upn
- String
ID を作成するために使用する UPN。
戻り値
作成された Windows ID。
例外
upn
が null
または空の文字列です。