SP.Group.canCurrentUserEditMembership property (sp.js)

Gets a value that indicates whether the current user can edit the membership of the group.

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

var value = SP.Group.get_canCurrentUserEditMembership ()

Return value

Type: Boolean

true if the current user can edit the group membership; otherwise, false.

REST resource endpoint

See Group resource for more information.

Endpoint URI structure

http://<sitecollection>/<site>/_api/web/sitegroups(groupid)/canCurrentUserEditMembership

HTTP requests

This resource supports the following HTTP commands:

  • POST

POST syntax

POST http://<sitecollection>/<site>/_api/web/sitegroups(groupid)/canCurrentUserEditMembership

GET syntax

GET http://<sitecollection>/<site>/_api/web/sitegroups(groupid)/canCurrentUserEditMembership