SP.Group Properties (sp.js)

The following table lists the properties of the SP.Group object.

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

Properties

Property

Description

allowMembersEditMembership

Gets or sets a value that indicates whether the group members can edit membership in the group.

allowRequestToJoinLeave

Gets or sets a value that indicates whether to allow users to request membership in the group and request to leave the group.

autoAcceptRequestToJoinLeave

Gets or sets a value that indicates whether the request to join or leave the group can be accepted automatically.

canCurrentUserEditMembership

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

canCurrentUserManageGroup

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

canCurrentUserViewMembership

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

description

Gets or sets the description of the group.

onlyAllowMembersViewMembership

Gets or sets a value that indicates whether only group members are allowed to view the membership of the group.

owner

Gets or sets the owner of the group which can be a user or another group assigned permissions to control security.

ownerTitle

Gets the name for the owner of this group.

requestToJoinLeaveEmailSetting

Gets or sets the email address to which the requests of the membership are sent.

users

Gets a collection of user objects that represents all of the users in the group.