WindowsUserNameSecurityTokenAuthenticator Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the WindowsUserNameSecurityTokenAuthenticator class.
Overloads
WindowsUserNameSecurityTokenAuthenticator() |
Initializes a new instance of the WindowsUserNameSecurityTokenAuthenticator class. |
WindowsUserNameSecurityTokenAuthenticator(Boolean) |
Initializes a new instance of the WindowsUserNameSecurityTokenAuthenticator class by specifying whether the claims that identify the Windows groups that a user belongs to are initially added to the ClaimSets property when the user is authenticated. |
WindowsUserNameSecurityTokenAuthenticator()
Initializes a new instance of the WindowsUserNameSecurityTokenAuthenticator class.
public:
WindowsUserNameSecurityTokenAuthenticator();
public WindowsUserNameSecurityTokenAuthenticator ();
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
WindowsUserNameSecurityTokenAuthenticator(Boolean)
Initializes a new instance of the WindowsUserNameSecurityTokenAuthenticator class by specifying whether the claims that identify the Windows groups that a user belongs to are initially added to the ClaimSets property when the user is authenticated.
public:
WindowsUserNameSecurityTokenAuthenticator(bool includeWindowsGroups);
public WindowsUserNameSecurityTokenAuthenticator (bool includeWindowsGroups);
new System.IdentityModel.Selectors.WindowsUserNameSecurityTokenAuthenticator : bool -> System.IdentityModel.Selectors.WindowsUserNameSecurityTokenAuthenticator
Public Sub New (includeWindowsGroups As Boolean)
Parameters
- includeWindowsGroups
- Boolean
true
to get the groups the Windows user belongs to; otherwise, false
.