SP.Group.onlyAllowMembersViewMembership Property

Applies to: SharePoint Foundation 2010

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

var value = SP.Group.get_onlyAllowMembersViewMembership(); 
SP.Group.set_onlyAllowMembersViewMembership(value);

Property Value

Type: boolean

true if only group members are allowed to view the membership of the group; otherwise, false.

Applies To

SP.Group Class

See Also

Reference

SP.Group Methods

SP.Group Properties

SP Namespace