다음을 통해 공유


SP.RoleAssignmentCollection Methods

Applies to: SharePoint Foundation 2010

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

Methods

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.

Applies To

SP.RoleAssignmentCollection Class

See Also

Reference

SP.RoleAssignmentCollection Properties

SP Namespace