共用方式為


SPClaimTypes.NameId property

在 IClaimsPrincipal NameId 宣告

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

Syntax

'宣告
Public Shared ReadOnly Property NameId As String
    Get
'用途
Dim value As String

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

Property value

Type: System.String

請參閱

參照

SPClaimTypes class

SPClaimTypes members

Microsoft.SharePoint.Administration.Claims namespace