Share via


CheckPermissions Method

The CheckPermissions method of the SPPermissionCollection class verifies whether the current user has the specified permissions for the list or site and, if not, throws an Access Denied exception.

Parameters

permissionMask   A Microsoft.SharePoint.SPRights value that specifies the rights.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security