Share via


SPUser.ID property

Gets the member ID for the user.

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

Syntax

'Declaration
Public Overrides ReadOnly Property ID As Integer
    Get
'Usage
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