Share via


SPUser.ID Property

Gets the member ID for the user.

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

Syntax

Public Overrides ReadOnly Property ID As Integer
    Get

Dim instance As SPUser
Dim value As Integer

value = instance.ID
public override int ID { get; }

Property Value

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

Remarks

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

Reference

SPUser Class

SPUser Members

Microsoft.SharePoint Namespace