SP.RoleAssignmentCollection.groups property (sp.js)
Gets the groups that directly belong to the access control list (ACL) for this securable object.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.RoleAssignmentCollection.get_groups ()
Return value
SP.GroupCollection
Groups that directly belong to the ACL for this securable object.
REST resource endpoint
See RoleAssignmentCollection resource for more information.
Endpoint URI structure
http://<sitecollection>/<site>/_api/web/RoleAssignments/groups
HTTP requests
This resource supports the following HTTP commands:
- GET
GET syntax
GET http://<sitecollection>/<site>/_api/web/RoleAssignments/groups