Share via


Remove(Microsoft.SharePoint.Portal.Security.IMember) Method

The Remove method of the PermissionCollection class removes the permission associated with the specified member from the collection.

Parameters

member   An IMember object that represents the member.

Example

The following example shows how to remove a user from the PermissionCollection object for an area.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security