Share via


SP.Group.canCurrentUserManageGroup property (sp.js)

Gets a value that indicates whether the current user can manage the group.

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

var value = SP.Group.get_canCurrentUserManageGroup ()

Return value

Type: Boolean

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

REST resource endpoint

See Group resource for more information.

Endpoint URI structure

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

HTTP requests

This resource supports the following HTTP commands:

  • POST

POST syntax

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

GET syntax

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