SP.Group.allowRequestToJoinLeave Property
Applies to: SharePoint Foundation 2010
Gets or sets a value that indicates whether to allow users to request membership in the group and request to leave the group.
var value = SP.Group.get_allowRequestToJoinLeave();
SP.Group.set_allowRequestToJoinLeave(value);
Property Value
Type: boolean
true if the users are allowed to request membership in the group or request to leave the group; otherwise, false.