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
.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기