WindowsSecurityTokenAuthenticator 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 WindowsSecurityTokenAuthenticator 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| WindowsSecurityTokenAuthenticator() |
初始化 WindowsSecurityTokenAuthenticator 類別的新執行個體。 |
| WindowsSecurityTokenAuthenticator(Boolean) |
透過指定 Windows 使用者所屬群組是否被加入ClaimSets該屬性,初始化該類別的新WindowsSecurityTokenAuthenticator實例。 |
WindowsSecurityTokenAuthenticator()
初始化 WindowsSecurityTokenAuthenticator 類別的新執行個體。
public:
WindowsSecurityTokenAuthenticator();
public WindowsSecurityTokenAuthenticator();
Public Sub New ()
備註
當使用者被驗證時,識別使用者所屬 Windows 群組的聲明會先加入 ClaimSets 屬性,最終加入 ClaimSets 屬性。
適用於
WindowsSecurityTokenAuthenticator(Boolean)
透過指定 Windows 使用者所屬群組是否被加入ClaimSets該屬性,初始化該類別的新WindowsSecurityTokenAuthenticator實例。
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
true取得 Windows 使用者所屬的群組;否則,。 false