SPUser.OwnedGroups Property

Gets the collection of groups that the user owns.

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

public SPGroupCollection OwnedGroups { get; }

Property Value

Type: Microsoft.SharePoint.SPGroupCollection
An SPGroupCollection object that represents the groups.
Show: