IClaimsIdentity.NameClaimType 屬性
The assigned Claim type to be used as the IIdentity.Name property. It is represented as a string.
命名空間: Microsoft.IdentityModel.Claims
組件: Microsoft.IdentityModel (在 microsoft.identitymodel.dll 中)
使用方式
Dim instance As IClaimsIdentity Dim value As String value = instance.NameClaimType instance.NameClaimType = value
語法
'宣告
Property NameClaimType As String
string NameClaimType { get; set; }
property String^ NameClaimType {
String^ get ();
void set (String^ value);
}
/** @property */
String get_NameClaimType ()
/** @property */
void set_NameClaimType (String value)
function get NameClaimType () : String
function set NameClaimType (value : String)
屬性值
Returns String.
備註
Name of the ClaimType used for this string. This property is used in conjunction with IIdentity.Name and applications can use this property to personalize identity of the subject.
執行緒安全
任何這個類型的公用靜態 (在 Visual Basic 中為 共用) 成員都具備執行緒安全。不保證任何執行個體成員都具備執行緒安全。
平台
開發平台
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
請參閱
參考
IClaimsIdentity 介面
IClaimsIdentity 成員
Microsoft.IdentityModel.Claims 命名空間