Compartilhar via


SPGroup.CanCurrentUserEditMembership Property

Gets a Boolean value that indicates whether the current user can modify membership of the group.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallablePropertyAttribute(ExcludeFromDefaultRetrieve := True)> _
Public ReadOnly Property CanCurrentUserEditMembership As Boolean
    Get
'Usage
Dim instance As SPGroup
Dim value As Boolean

value = instance.CanCurrentUserEditMembership
[ClientCallablePropertyAttribute(ExcludeFromDefaultRetrieve = true)]
public bool CanCurrentUserEditMembership { get; }

Property Value

Type: System.Boolean
true if the current user can modify group membership; otherwise, false.

See Also

Reference

SPGroup Class

SPGroup Members

Microsoft.SharePoint Namespace