WindowsSecurityTokenAuthenticator 构造函数

定义

初始化 WindowsSecurityTokenAuthenticator 类的新实例。Initializes a new instance of the WindowsSecurityTokenAuthenticator class.

重载

WindowsSecurityTokenAuthenticator()

初始化 WindowsSecurityTokenAuthenticator 类的新实例。Initializes a new instance of the WindowsSecurityTokenAuthenticator class.

WindowsSecurityTokenAuthenticator(Boolean)

通过指定是否在对 Windows 用户进行身份验证时将该用户所属的组添加到 WindowsSecurityTokenAuthenticator 属性,初始化 ClaimSets 类的新实例。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()

初始化 WindowsSecurityTokenAuthenticator 类的新实例。Initializes a new instance of the WindowsSecurityTokenAuthenticator class.

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

注解

在对用户进行身份验证时,起初将标识用户所属的 Windows 组的声明添加到 ClaimSets 属性,最后再将这些声明添加到 ClaimSets 属性。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.

适用于

WindowsSecurityTokenAuthenticator(Boolean)

通过指定是否在对 Windows 用户进行身份验证时将该用户所属的组添加到 WindowsSecurityTokenAuthenticator 属性,初始化 ClaimSets 类的新实例。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)

参数

includeWindowsGroups
Boolean

如果获取 Windows 用户所属的组,则为 true;否则为 falsetrue to get the groups the Windows user belongs to; otherwise, false.

适用于