Share via


SPUser.OwnedGroups Property

Gets the collection of groups that the user owns.

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

Syntax

Public ReadOnly Property OwnedGroups As SPGroupCollection
    Get

Dim instance As SPUser
Dim value As SPGroupCollection

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

Property Value

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

See Also

Reference

SPUser Class

SPUser Members

Microsoft.SharePoint Namespace