Export (0) Print
Expand All

SP.RoleAssignmentCollection Methods

SharePoint 2010

Last modified: April 13, 2011

Applies to: SharePoint Foundation 2010

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

Name

Description

add

Adds a new role assignment with the specified principal and role definitions to the collection.

getByPrincipal

Gets the role assignment associated with the specified user or group from the collection.

getByPrincipalId

Gets the role assignment associated with the specified principal ID.

itemAt

Gets the role assignment at the specified index in the collection.

RoleAssignmentCollection

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

Show:
© 2014 Microsoft