SPUser.ID Property

Gets the member ID for the user.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online


<ClientCallableAttribute(Name := "Id")> _
Public Overrides ReadOnly Property ID As Integer
Dim instance As SPUser
Dim value As Integer

value = instance.ID
[ClientCallableAttribute(Name = "Id")]
public override int ID { get; }

Property Value

Type: System.Int32
A 32-bit integer that specifies the member ID.


The value of the ID property corresponds to the unique member ID for the user, which is contained in the ID property of the SPMember class.

See Also


SPUser Class

SPUser Members

Microsoft.SharePoint Namespace