Редагувати

Поділитися через


WindowsSecurityTokenAuthenticator Constructors

Definition

Initializes a new instance of the WindowsSecurityTokenAuthenticator class.

Overloads

WindowsSecurityTokenAuthenticator()

Initializes a new instance of the WindowsSecurityTokenAuthenticator class.

WindowsSecurityTokenAuthenticator(Boolean)

Initializes a new instance of the WindowsSecurityTokenAuthenticator class by specifying whether the groups that the Windows user belongs to are added to the ClaimSets property when the user is authenticated.

WindowsSecurityTokenAuthenticator()

Initializes a new instance of the WindowsSecurityTokenAuthenticator class.

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

Remarks

When the user is authenticated, claims that identify the Windows groups that a user belongs to are initially added to the ClaimSets property and eventually to the ClaimSets property.

Applies to

WindowsSecurityTokenAuthenticator(Boolean)

Initializes a new instance of the WindowsSecurityTokenAuthenticator class by specifying whether the groups that the Windows user belongs to are added to the ClaimSets property when the user is authenticated.

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

Parameters

includeWindowsGroups
Boolean

true to get the groups the Windows user belongs to; otherwise, false.

Applies to