Gets the collection of groups of which the user is a member.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public ReadOnly Property Groups As SPGroupCollection
Get
用法
Dim instance As SPUser
Dim value As SPGroupCollection
value = instance.Groups
public SPGroupCollection Groups { get; }
属性值
类型:Microsoft.SharePoint.SPGroupCollection
An SPGroupCollection object that represents the groups.