設定 IIS 用戶端憑證的對應。
Syntax
class IisClientCertificateMappingAuthenticationSection : ConfigurationSectionWithCollection
方法
下表列出 類別所 IisClientCertificateMappingAuthenticationSection 公開的方法。
| 名稱 | 描述 |
|---|---|
| 加入 | (繼承自 ConfigurationSectionWithCollection.) |
| 清除 | (繼承自 ConfigurationSectionWithCollection。) |
| Get | (繼承自 ConfigurationSectionWithCollection。) |
| GetAllowDefinition | (繼承自 ConfigurationSection.) |
| GetAllowLocation | (繼承自 ConfigurationSection。) |
| 移除 | (繼承自 ConfigurationSectionWithCollection。) |
| RevertToParent | (繼承自 ConfigurationSection。) |
| SetAllowDefinition | (繼承自 ConfigurationSection。) |
| SetAllowLocation | (繼承自 ConfigurationSection。) |
屬性
下表列出 類別所 IisClientCertificateMappingAuthenticationSection 公開的屬性。
| 名稱 | 描述 |
|---|---|
DefaultLogonDomain |
讀取/寫入 string 值,指定伺服器用來驗證使用者的預設網域。 |
Enabled |
讀取/寫入 boolean 值。 true 如果已啟用 IIS 用戶端憑證對應驗證,則為 ;否則為 false 。 預設值為 false。 |
Location |
(繼承自 ConfigurationSection .) 金鑰屬性。 |
LogonMethod |
讀取/寫入 sint32 列舉,指定登入的方法。 後續的一節會列出可能的值。 |
ManyToOneCertificateMappingsEnabled |
讀取/寫入 boolean 值。 true 如果已啟用多對一對應,則為 ;否則為 false 。 預設值為 true。 |
ManyToOneMappings |
指定多對一用戶端憑證對應的 ManyToOneSettings 值。 |
OneToOneCertificateMappingsEnabled |
讀取/寫入 boolean 值。 true 如果已啟用一對一對應,則為 ;否則為 false 。 預設值為 true。 |
OneToOneMappings |
OneToOneSettings值,指定一對一用戶端憑證對應。 |
Path |
(繼承自 ConfigurationSection .) 金鑰屬性。 |
SectionInformation |
(繼承自 ConfigurationSection。) |
子類別
這個類別不包含子類別。
備註
下表列出 屬性的 LogonMethod 可能值。 預設值為 3 (ClearText) 。
| 值 | 關鍵字 | 描述 |
|---|---|---|
| 0 | Interactive |
此登入類型適用于會以互動方式使用電腦的使用者。 |
| 1 | Batch |
此登入類型適用于批次伺服器,其中進程可能代表使用者執行,而不需要直接介入。 此登入類型不會快取認證。 |
| 2 | Network |
此登入類型適用于高效能伺服器,以驗證純文字密碼。 此登入類型不會快取認證。 |
| 3 | ClearText |
此登入類型會保留驗證套件中的名稱和密碼,這可讓伺服器在模擬用戶端時連線到其他網路伺服器。 |
繼承階層架構
ConfigurationSectionWithCollection
IisClientCertificateMappingAuthenticationSection
規格需求
| 類型 | 描述 |
|---|---|
| Client | - Windows Vista 上的 IIS 7.0 - Windows 7 上的 IIS 7.5 - Windows 8 上的 IIS 8.0 - Windows 10上的 IIS 10.0 |
| 伺服器 | - Windows Server 2008 上的 IIS 7.0 - Windows Server 2008 R2 上的 IIS 7.5 - Windows Server 2012 上的 IIS 8.0 - Windows Server 2012 R2 上的 IIS 8.5 - Windows Server 2016上的 IIS 10.0 |
| 產品 | - IIS 7.0、IIS 7.5、IIS 8.0、IIS 8.5、IIS 10.0 |
| MOF 檔案 | WebAdministration.mof |
另請參閱
AccessSection 類別
ClientCertificateMappingAuthenticationSection 類別
CollectionElement 類別
ConfigurationSectionWithCollection 類別
ManyToOneCertificateMappingElement 類別
ManyToOneCertificateMappingRuleElement 類別
ManyToOneSettings 類別
OneToOneCertificateMappingElement 類別
OneToOneSettings 類別