Export (0) Print
Expand All

ISecurableObject.CheckPermissions method

NOTE: This API is now obsolete.

Checks the permissions for a given set of rights.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

[ObsoleteAttribute("Use the SPSecurableObject class instead")]
void CheckPermissions(
	SPBasePermissions permissionMask
)

Parameters

permissionMask
Type: Microsoft.SharePoint.SPBasePermissions

An SPBasePermissions value that specifies a set of rights to check.

The CheckPermissions method returns an "access denied" error if it fails.

Show:
© 2014 Microsoft