RemoveByID(Int32) Method

The RemoveByID method of the SPRoleCollection class removes the site group with the specified member ID from the collection.

Parameters

id   A 32-bit integer that specifies the ID.

Remarks

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

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security