SP.BasePermissions Methods

Applies to: SharePoint Foundation 2010

The following table lists the methods of the SP.BasePermissions class.

Methods

Name

Description

BasePermissions

Initializes a new instance of the SP.BasePermissions Class.

clear

Clears the specified permission for the current instance.

clearAll

Clears all permissions for the current instance.

equals

Determines whether this instance and the specified BasePermissions object have the same permissions.

has

Determines whether the current instance has the specified permission.

hasPermissions

Determines whether the current instance has the specified set of permissions.

initPropertiesFromJson

This member is reserved for internal use and is not intended to be used directly from your code.

set

Sets the specified permission for the current instance.

writeToXml

This member is reserved for internal use and is not intended to be used directly from your code.

Applies To

SP.BasePermissions Class

See Also

Reference

SP.BasePermissions Properties

SP Namespace