Share via


GetByID Method

The GetByID method of the SPUserCollection class returns the user with the specified member ID.

Parameters

id   A 32-bit integer that specifies the member ID.

Return Value

A Microsoft.SharePoint.SPUser object that represents the user.

Remarks

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

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security