SP.Group.onlyAllowMembersViewMembership property (sp.js)
Gets or sets a value that indicates whether only group members are allowed to view the membership of the group.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.Group.get_onlyAllowMembersViewMembership ()
var value = SP.Group.set_onlyAllowMembersViewMembership ()
Return value
Type: Boolean
true if only group members are allowed to view the membership of the group; otherwise, false.
REST resource endpoint
See Group resource for more information.
Endpoint URI structure
http://<sitecollection>/<site>/_api/web/sitegroups(groupid)/onlyAllowMembersViewMembership
HTTP requests
This resource supports the following HTTP commands:
- POST
POST syntax
POST http://<sitecollection>/<site>/_api/web/sitegroups(groupid)/onlyAllowMembersViewMembership
GET syntax
GET http://<sitecollection>/<site>/_api/web/sitegroups(groupid)/onlyAllowMembersViewMembership