Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the user's name from the perspective of the authentication provider.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property NameId As String
Get
'Usage
Dim instance As SPUserIdInfo
Dim value As String
value = instance.NameId
public string NameId { get; }
Property value
Type: System.String
The user’s name.
Remarks
For example, it is PUID for Office 365 Org-Id authentication and it is SID for Windows authentication.