Share via


Group.OnlyAllowMembersViewMembership property

Gets or sets a Boolean value that specifies whether only group members are allowed to view the list of members in the group.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Property OnlyAllowMembersViewMembership As Boolean
    Get
    Set
'Usage
Dim instance As Group
Dim value As Boolean

value = instance.OnlyAllowMembersViewMembership

instance.OnlyAllowMembersViewMembership = value
public bool OnlyAllowMembersViewMembership { get; set; }

Property value

Type: System.Boolean
Returns Boolean.

See also

Reference

Group class

Group members

Microsoft.SharePoint.Client namespace