WindowsSecurityTokenAuthenticator Constructors
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 WindowsSecurityTokenAuthenticator class.
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. |
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
.NET Framework 4.8.1 en andere versies
Product | Versies |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
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
.NET Framework 4.8.1 en andere versies
Product | Versies |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET-feedback
.NET is een open source project. Selecteer een koppeling om feedback te geven: