SP.Group.autoAcceptRequestToJoinLeave Property
Applies to: SharePoint Foundation 2010
Gets or sets a value that indicates whether the request to join or leave the group can be accepted automatically.
var value = SP.Group.get_autoAcceptRequestToJoinLeave();
SP.Group.set_autoAcceptRequestToJoinLeave(value);
Property Value
Type: boolean
true if the request to join or leave the group can be accepted automatically; otherwise, false.