共用方式為


SPClaimTypes.UserIdentifier Property

Gets the type for the universal user identifier claim found on all tokens emitted by the security token service (SPSecurityTokenService).

Namespace:  Microsoft.SharePoint.Administration.Claims
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared ReadOnly Property UserIdentifier As String
    Get
'Usage
Dim value As String

value = SPClaimTypes.UserIdentifier
public static string UserIdentifier { get; }

Property Value

Type: System.String
Returns the type for the universal user identifier claim.

See Also

Reference

SPClaimTypes Class

SPClaimTypes Members

Microsoft.SharePoint.Administration.Claims Namespace