Share via


SPGroup.CanCurrentUserViewMembership property

Gets a Boolean value that indicates whether the current user can view the member list of the group.

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

Syntax

'Declaration
Public ReadOnly Property CanCurrentUserViewMembership As Boolean
    Get
'Usage
Dim instance As SPGroup
Dim value As Boolean

value = instance.CanCurrentUserViewMembership
public bool CanCurrentUserViewMembership { get; }

Property value

Type: System.Boolean
true if the current user can view the member list of the group; otherwise, false.

See also

Reference

SPGroup class

SPGroup members

Microsoft.SharePoint namespace