SP.UserCollection.item property (sp.js)
Gets the user at the specified index of the collection.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.UserCollection.get_item ()
Parameters
- index
Return value
Type: SP.User
The user at the specified index of the collection.
REST resource endpoint
To get a user, send a GET request to the Users endpoint. See UserCollection resource for more information.
Endpoint URI structure
http://<sitecollection>/<site>/_api/web/sitegroups(groupid)/users/item
HTTP requests
This resource supports the following HTTP commands:
- GET
GET syntax
GET http://<sitecollection>/<site>/_api/web/sitegroups(groupid)/users/item
Resource parameters
- index