共用方式為


ClaimTypes 類別

定義

定義可以指派給主體的已知宣告類型之常數。 此類別無法獲得繼承。

public ref class ClaimTypes abstract sealed
public static class ClaimTypes
[System.Runtime.InteropServices.ComVisible(false)]
public static class ClaimTypes
type ClaimTypes = class
[<System.Runtime.InteropServices.ComVisible(false)>]
type ClaimTypes = class
Public Class ClaimTypes
繼承
ClaimTypes
屬性

備註

這些常數會定義已知宣告類型的 URI。

欄位

Actor

指定執行者之宣告的 URI http://schemas.xmlsoap.org/ws/2009/09/identity/claims/actor

Anonymous

指定匿名使用者之宣告的 URI:http://schemas.xmlsoap.org/ws/2005/05/identity/claims/anonymous

Authentication

指定身分識別是否通過驗證的詳細資料之宣告的 URI:http://schemas.xmlsoap.org/ws/2005/05/identity/claims/authenticated

AuthenticationInstant

指定實體已驗證的瞬間之宣告的 URI:http://schemas.microsoft.com/ws/2008/06/identity/claims/authenticationinstant

AuthenticationMethod

指定用於驗證實體的方法之宣告的 URI:http://schemas.microsoft.com/ws/2008/06/identity/claims/authenticationmethod

AuthorizationDecision

指定針對實體的授權決策之宣告的 URI:http://schemas.xmlsoap.org/ws/2005/05/identity/claims/authorizationdecision

CookiePath

指定 Cookie 路徑之宣告的 URI:http://schemas.microsoft.com/ws/2008/06/identity/claims/cookiepath

Country

指定實體所在的國家/地區之宣告的 URI:http://schemas.xmlsoap.org/ws/2005/05/identity/claims/country

DateOfBirth

指定實體生日之宣告的 URI:http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dateofbirth

DenyOnlyPrimaryGroupSid

指定實體的僅限拒絕主要群組 SID 之宣告的 URI:http://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlyprimarygroupsid。 指定禁用 SID 不會讓指定的實體存取安全物件。

DenyOnlyPrimarySid

指定實體的僅限拒絕主要 SID 之宣告的 URI:http://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlyprimarysid。 指定禁用 SID 不會讓指定的實體存取安全物件。

DenyOnlySid

指定針對實體的僅限拒絕安全性識別項 (SID) 之宣告的 URI:http://schemas.xmlsoap.org/ws/2005/05/identity/claims/denyonlysid。 指定禁用 SID 不會讓指定的實體存取安全物件。

DenyOnlyWindowsDeviceGroup

指定裝置之 Windows 僅限拒絕群組 SID 之宣告的 URI:http://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlywindowsdevicegroup

Dns

指定與電腦名稱或 X.509 憑證之主體或發行者的替代名稱相關聯的 DNS 名稱之宣告的 URI:http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dns

Dsa

http://schemas.microsoft.com/ws/2008/06/identity/claims/dsa.

Email

指定實體的電子郵件地址之宣告的 URI:http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress

Expiration

http://schemas.microsoft.com/ws/2008/06/identity/claims/expiration.

Expired

http://schemas.microsoft.com/ws/2008/06/identity/claims/expired.

Gender

指定實體的性別之宣告的 URI:http://schemas.xmlsoap.org/ws/2005/05/identity/claims/gender

GivenName

指定實體的名字之宣告的 URI:http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname

GroupSid

指定實體群組的 SID 之宣告的 URI:http://schemas.microsoft.com/ws/2008/06/identity/claims/groupsid

Hash

指定雜湊值之宣告的 URI:http://schemas.xmlsoap.org/ws/2005/05/identity/claims/hash

HomePhone

指定實體的住家電話號碼之宣告的 URI:http://schemas.xmlsoap.org/ws/2005/05/identity/claims/homephone

IsPersistent

http://schemas.microsoft.com/ws/2008/06/identity/claims/ispersistent.

Locality

指定實體所在的地區設定之宣告的 URI:http://schemas.xmlsoap.org/ws/2005/05/identity/claims/locality

MobilePhone

指定實體的行動電話號碼之宣告的 URI:http://schemas.xmlsoap.org/ws/2005/05/identity/claims/mobilephone

Name

指定實體的名稱之宣告的 URI:http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name

NameIdentifier

指定實體的名稱之宣告的 URI:http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier

OtherPhone

指定實體的替代電話號碼之宣告的 URI:http://schemas.xmlsoap.org/ws/2005/05/identity/claims/otherphone

PostalCode

指定實體的郵遞區號之宣告的 URI:http://schemas.xmlsoap.org/ws/2005/05/identity/claims/postalcode

PrimaryGroupSid

指定實體的主要群組 SID 之宣告的 URI:http://schemas.microsoft.com/ws/2008/06/identity/claims/primarygroupsid

PrimarySid

指定實體的主要 SID 之宣告的 URI:http://schemas.microsoft.com/ws/2008/06/identity/claims/primarysid

Role

指定實體的角色之宣告的 URI:http://schemas.microsoft.com/ws/2008/06/identity/claims/role

Rsa

指定 RSA 金鑰之宣告的 URI:http://schemas.xmlsoap.org/ws/2005/05/identity/claims/rsa

SerialNumber

指定序號之宣告的 URI:http://schemas.microsoft.com/ws/2008/06/identity/claims/serialnumber

Sid

指定安全性識別碼 (SID) 之宣告的 URI:http://schemas.xmlsoap.org/ws/2005/05/identity/claims/sid

Spn

指定服務主體名稱 (SPN) 宣告之宣告的 URI:http://schemas.xmlsoap.org/ws/2005/05/identity/claims/spn

StateOrProvince

指定實體的所在縣市或鄉鎮之宣告的 URI:http://schemas.xmlsoap.org/ws/2005/05/identity/claims/stateorprovince

StreetAddress

指定實體的街道地址之宣告的 URI:http://schemas.xmlsoap.org/ws/2005/05/identity/claims/streetaddress

Surname

指定實體的姓氏之宣告的 URI:http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname

System

識別系統實體之宣告的 URI:http://schemas.xmlsoap.org/ws/2005/05/identity/claims/system

Thumbprint

指定指紋之宣告的 URI:http://schemas.xmlsoap.org/ws/2005/05/identity/claims/thumbprint。 指紋是 X.509 憑證的全域唯一 SHA-1 雜湊。

Upn

指定使用者主體名稱 (UPN) 之宣告的 URI:http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn

Uri

指定 URI 之宣告的 URI:http://schemas.xmlsoap.org/ws/2005/05/identity/claims/uri

UserData

指定使用者資料之宣告的 URI:http://schemas.microsoft.com/ws/2008/06/identity/claims/userdata

Version

指定版本之宣告的 URI:http://schemas.microsoft.com/ws/2008/06/identity/claims/version

Webpage

指定實體的網頁之宣告的 URI:http://schemas.xmlsoap.org/ws/2005/05/identity/claims/webpage

WindowsAccountName

指定實體的 Windows 網域帳戶名稱之宣告的 URI:http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname

WindowsDeviceClaim

http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsdeviceclaim.

WindowsDeviceGroup

指定裝置之 Windows 群組 SID 之宣告的 URI:http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsdevicegroup

WindowsFqbnVersion

http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsfqbnversion.

WindowsSubAuthority

http://schemas.microsoft.com/ws/2008/06/identity/claims/windowssubauthority.

WindowsUserClaim

http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsuserclaim.

X500DistinguishedName

X.500 辨別名稱宣告的 URI,例如 X.509 公開金鑰憑證的主體或目錄服務「目錄資訊樹狀結構」中的項目識別項:http://schemas.xmlsoap.org/ws/2005/05/identity/claims/x500distinguishedname

適用於