Partilhar via


SP.Group Properties

Applies to: SharePoint Foundation 2010

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

Properties

Name

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 the users in the group.

Applies To

SP.Group Class

See Also

Reference

SP.Group Methods

SP Namespace