SPUser.ID Property
Gets the member ID for the user.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
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.