ClaimTypes.Upn 属性

定义

获取声明的 URI,该 URI 指定一个用户主体名称 (UPN)。Gets the URI for a claim that specifies a user principal name (UPN).

public:
 static property System::String ^ Upn { System::String ^ get(); };
public static string Upn { get; }
member this.Upn : string
Public Shared ReadOnly Property Upn As String

属性值

String

声明的 URI,该 URI 指定 UPN。The URI for a claim that specifies UPN.

注解

此属性返回的字符串为 http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upnThe string returned by this property is http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn.

适用于

另请参阅