User.UserId property

Gets the information of the user that contains the user's name identifier and the issuer of the user's name identifier.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public ReadOnly Property UserId As UserIdInfo
    Get
'Usage
Dim instance As User
Dim value As UserIdInfo

value = instance.UserId
public UserIdInfo UserId { get; }

Property value

Type: Microsoft.SharePoint.Client.UserIdInfo
The information of the user that contains the user's name identifier and the issuer of the user's name identifier.

Remarks

This does a best effort to only expose name ID and the issuer of name ID of real users (that is, no groups or no share by link).

See also

Reference

User class

User members

Microsoft.SharePoint.Client namespace