SP.RoleAssignmentCollection.itemAt Method (sp.js)

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

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

SP.RoleAssignmentCollection.itemAt()

Parameters

  • index
    Type: int

    The index of the role assignment in the collection.

Return value

Type: SP.RoleAssignment

The role assignment at the specified index.

Remarks

The method retrieves the role assignment at the index specified by the index parameter.