KerberosSecurityTokenAuthenticator 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 KerberosSecurityTokenAuthenticator 类的新实例。
重载
| 名称 | 说明 |
|---|---|
| KerberosSecurityTokenAuthenticator() |
初始化 KerberosSecurityTokenAuthenticator 类的新实例。 |
| KerberosSecurityTokenAuthenticator(Boolean) |
通过指定在对用户进行身份验证时是否获取Windows用户所属的组,初始化 KerberosSecurityTokenAuthenticator 类的新实例。 |
KerberosSecurityTokenAuthenticator()
初始化 KerberosSecurityTokenAuthenticator 类的新实例。
public:
KerberosSecurityTokenAuthenticator();
public KerberosSecurityTokenAuthenticator();
Public Sub New ()
注解
在对用户进行身份验证时,将添加声明以标识Windows用户所属的组。
适用于
KerberosSecurityTokenAuthenticator(Boolean)
通过指定在对用户进行身份验证时是否获取Windows用户所属的组,初始化 KerberosSecurityTokenAuthenticator 类的新实例。
public:
KerberosSecurityTokenAuthenticator(bool includeWindowsGroups);
public KerberosSecurityTokenAuthenticator(bool includeWindowsGroups);
new System.IdentityModel.Selectors.KerberosSecurityTokenAuthenticator : bool -> System.IdentityModel.Selectors.KerberosSecurityTokenAuthenticator
Public Sub New (includeWindowsGroups As Boolean)
参数
- includeWindowsGroups
- Boolean
true 获取 Windows 用户所属的组;否则,为 false.