WindowsSecurityToken コンストラクター

定義

WindowsSecurityToken クラスの新しいインスタンスを初期化します。

オーバーロード

WindowsSecurityToken()

WindowsSecurityToken クラスの新しいインスタンスを初期化します。

WindowsSecurityToken(WindowsIdentity)

Windows ユーザーを使用して、WindowsSecurityToken クラスの新しいインスタンスを初期化します。

WindowsSecurityToken(WindowsIdentity, String)

Windows ユーザーを使用して、WindowsSecurityToken クラスの新しいインスタンスを初期化します。

WindowsSecurityToken(WindowsIdentity, String, String)

WindowsSecurityToken の新しいインスタンスを作成します。

WindowsSecurityToken()

WindowsSecurityToken クラスの新しいインスタンスを初期化します。

protected:
 WindowsSecurityToken();
public:
 WindowsSecurityToken();
protected WindowsSecurityToken ();
public WindowsSecurityToken ();
Protected Sub New ()
Public Sub New ()

注釈

このコンストラクターは、既定では何も行いません。

適用対象

WindowsSecurityToken(WindowsIdentity)

Windows ユーザーを使用して、WindowsSecurityToken クラスの新しいインスタンスを初期化します。

public:
 WindowsSecurityToken(System::Security::Principal::WindowsIdentity ^ windowsIdentity);
public:
 WindowsSecurityToken(System::Security::Principal::WindowsIdentity ^ identity);
public WindowsSecurityToken (System.Security.Principal.WindowsIdentity windowsIdentity);
public WindowsSecurityToken (System.Security.Principal.WindowsIdentity identity);
new System.IdentityModel.Tokens.WindowsSecurityToken : System.Security.Principal.WindowsIdentity -> System.IdentityModel.Tokens.WindowsSecurityToken
new System.IdentityModel.Tokens.WindowsSecurityToken : System.Security.Principal.WindowsIdentity -> System.IdentityModel.Tokens.WindowsSecurityToken
Public Sub New (windowsIdentity As WindowsIdentity)
Public Sub New (identity As WindowsIdentity)

パラメーター

windowsIdentityidentity
WindowsIdentity

Windows ユーザーを表す WindowsIdentity

例外

windowsIdentitynullです。

注釈

このコンストラクターは、WindowsSecurityToken セキュリティ トークンの一意の識別子を作成し、その値を Id プロパティに割り当てます。

適用対象

WindowsSecurityToken(WindowsIdentity, String)

Windows ユーザーを使用して、WindowsSecurityToken クラスの新しいインスタンスを初期化します。

public:
 WindowsSecurityToken(System::Security::Principal::WindowsIdentity ^ windowsIdentity, System::String ^ id);
public:
 WindowsSecurityToken(System::Security::Principal::WindowsIdentity ^ identity, System::String ^ id);
public WindowsSecurityToken (System.Security.Principal.WindowsIdentity windowsIdentity, string id);
public WindowsSecurityToken (System.Security.Principal.WindowsIdentity identity, string id);
new System.IdentityModel.Tokens.WindowsSecurityToken : System.Security.Principal.WindowsIdentity * string -> System.IdentityModel.Tokens.WindowsSecurityToken
new System.IdentityModel.Tokens.WindowsSecurityToken : System.Security.Principal.WindowsIdentity * string -> System.IdentityModel.Tokens.WindowsSecurityToken
Public Sub New (windowsIdentity As WindowsIdentity, id As String)
Public Sub New (identity As WindowsIdentity, id As String)

パラメーター

windowsIdentityidentity
WindowsIdentity

Windows ユーザーを表す WindowsIdentity

id
String

セキュリティ トークンの一意の識別子。

例外

windowsIdentitynullです。

または idnullです。

注釈

このコンストラクターは、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

セキュリティ トークンの認証の種類。

適用対象