WindowsUserNameSecurityTokenAuthenticator 建構函式

定義

初始化 WindowsUserNameSecurityTokenAuthenticator 類別的新執行個體。

多載

WindowsUserNameSecurityTokenAuthenticator()

初始化 WindowsUserNameSecurityTokenAuthenticator 類別的新執行個體。

WindowsUserNameSecurityTokenAuthenticator(Boolean)

指定當使用者進行驗證時,負責識別使用者所屬 Windows 群組的宣告是否一開始就加入至 WindowsUserNameSecurityTokenAuthenticator 屬性,初始化 ClaimSets 類別的新執行個體。

WindowsUserNameSecurityTokenAuthenticator()

初始化 WindowsUserNameSecurityTokenAuthenticator 類別的新執行個體。

public:
 WindowsUserNameSecurityTokenAuthenticator();
public WindowsUserNameSecurityTokenAuthenticator ();
Public Sub New ()

備註

當使用者進行驗證時,負責識別使用者所屬 Windows 群組的宣告一開始會加入至 ClaimSets 屬性,最後才加入至 ClaimSets 屬性。

適用於

WindowsUserNameSecurityTokenAuthenticator(Boolean)

指定當使用者進行驗證時,負責識別使用者所屬 Windows 群組的宣告是否一開始就加入至 WindowsUserNameSecurityTokenAuthenticator 屬性,初始化 ClaimSets 類別的新執行個體。

public:
 WindowsUserNameSecurityTokenAuthenticator(bool includeWindowsGroups);
public WindowsUserNameSecurityTokenAuthenticator (bool includeWindowsGroups);
new System.IdentityModel.Selectors.WindowsUserNameSecurityTokenAuthenticator : bool -> System.IdentityModel.Selectors.WindowsUserNameSecurityTokenAuthenticator
Public Sub New (includeWindowsGroups As Boolean)

參數

includeWindowsGroups
Boolean

若要取得 Windows 使用者所屬的群組,則為 true,否則為 false

適用於