共用方式為


SP.RoleAssignment Methods

Applies to: SharePoint Foundation 2010

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

Methods

Name

Description

deleteObject

Removes the role assignment object from the parent role assignment collection.

importRoleDefinitionBindings

Imports the specified role definition bindings into the collection of role definitions that are bound to the role assignment.

initPropertiesFromJson

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

RoleAssignment

Initializes a new instance of the SP.RoleAssignment Class.

update

Updates the role assignment object with changes that have been made to its properties.

Applies To

SP.RoleAssignment Class

See Also

Reference

SP.RoleAssignment Properties

SP Namespace