WindowsSecurityToken コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
WindowsSecurityToken クラスの新しいインスタンスを初期化します。
オーバーロード
| 名前 | 説明 |
|---|---|
| WindowsSecurityToken() |
WindowsSecurityToken クラスの新しいインスタンスを初期化します。 |
| WindowsSecurityToken(WindowsIdentity) |
Windows ユーザーを使用して、 WindowsSecurityToken クラスの新しいインスタンスを初期化します。 |
| WindowsSecurityToken(WindowsIdentity, String) |
Windows ユーザーを使用して、 WindowsSecurityToken クラスの新しいインスタンスを初期化します。 |
| WindowsSecurityToken(WindowsIdentity, String, String) |
WindowsSecurityTokenの新しいインスタンスを作成します。 |
WindowsSecurityToken()
WindowsSecurityToken クラスの新しいインスタンスを初期化します。
protected:
WindowsSecurityToken();
protected WindowsSecurityToken();
Protected Sub New ()
注釈
既定では、このコンストラクターは何も行いません。
適用対象
WindowsSecurityToken(WindowsIdentity)
Windows ユーザーを使用して、 WindowsSecurityToken クラスの新しいインスタンスを初期化します。
public:
WindowsSecurityToken(System::Security::Principal::WindowsIdentity ^ windowsIdentity);
public WindowsSecurityToken(System.Security.Principal.WindowsIdentity windowsIdentity);
new System.IdentityModel.Tokens.WindowsSecurityToken : System.Security.Principal.WindowsIdentity -> System.IdentityModel.Tokens.WindowsSecurityToken
Public Sub New (windowsIdentity As WindowsIdentity)
パラメーター
- windowsIdentity
- WindowsIdentity
Windows ユーザーを表す WindowsIdentity 。
例外
windowsIdentity は nullです。
注釈
このコンストラクターは、 WindowsSecurityToken セキュリティ トークンの一意の識別子を作成し、その値を Id プロパティに割り当てます。
適用対象
WindowsSecurityToken(WindowsIdentity, String)
Windows ユーザーを使用して、 WindowsSecurityToken クラスの新しいインスタンスを初期化します。
public:
WindowsSecurityToken(System::Security::Principal::WindowsIdentity ^ windowsIdentity, System::String ^ id);
public WindowsSecurityToken(System.Security.Principal.WindowsIdentity windowsIdentity, string id);
new System.IdentityModel.Tokens.WindowsSecurityToken : System.Security.Principal.WindowsIdentity * string -> System.IdentityModel.Tokens.WindowsSecurityToken
Public Sub New (windowsIdentity As WindowsIdentity, id As String)
パラメーター
- windowsIdentity
- WindowsIdentity
Windows ユーザーを表す WindowsIdentity 。
- id
- String
セキュリティ トークンの一意識別子。
例外
注釈
このコンストラクターは、 Initialize メソッドを呼び出して、このクラスのプロパティを初期化します。
適用対象
WindowsSecurityToken(WindowsIdentity, String, String)
WindowsSecurityTokenの新しいインスタンスを作成します。
public:
WindowsSecurityToken(System::Security::Principal::WindowsIdentity ^ windowsIdentity, System::String ^ id, System::String ^ authenticationType);
public WindowsSecurityToken(System.Security.Principal.WindowsIdentity windowsIdentity, string id, string authenticationType);
new System.IdentityModel.Tokens.WindowsSecurityToken : System.Security.Principal.WindowsIdentity * string * string -> System.IdentityModel.Tokens.WindowsSecurityToken
Public Sub New (windowsIdentity As WindowsIdentity, id As String, authenticationType As String)
パラメーター
- windowsIdentity
- WindowsIdentity
Windows ユーザーを表す WindowsIdentity 。
- id
- String
セキュリティ トークンの一意識別子。
- authenticationType
- String
セキュリティ トークンの認証の種類。