SPRoleAssignmentCollection.Groups property

Gets the groups that directly belong to the access control list (ACL). for this securable object.

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

Syntax

'Declaration
Public ReadOnly Property Groups As SPGroupCollection
    Get
'Usage
Dim instance As SPRoleAssignmentCollection
Dim value As SPGroupCollection

value = instance.Groups
public SPGroupCollection Groups { get; }

Property value

Type: Microsoft.SharePoint.SPGroupCollection
Groups that directly belong to the ACL for this securable object.

See also

Reference

SPRoleAssignmentCollection class

SPRoleAssignmentCollection members

Microsoft.SharePoint namespace