SP.RoleDefinitionCollection.itemAt Method (sp.js)
Gets the role definition at the specified index in the collection.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
SP.RoleDefinitionCollection.itemAt()
Parameters
index
Type: intThe index of the role definition in the collection.
Return value
Type: SP.RoleDefinition
The role definition at the specified index.
Remarks
The method gets the role definition at the index specified by the index parameter.