[This is preliminary documentation and is subject to change.]
            Gets the list of all the groups where a user is member.
            
    Namespace: 
   OfficeClip.DBLayer.AccountAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
| C# | 
|---|
public List<GroupInfo> GetGroupList( int userId )  | 
| Visual Basic (Declaration) | 
|---|
Public Function GetGroupList ( _ userId As Integer _ ) As List(Of GroupInfo)  | 
| Visual C++ | 
|---|
public: List<GroupInfo^>^ GetGroupList( int userId )  | 
Parameters
- userId
 - Type: System..::.Int32
Id of the user for whom all the groups are to be returned. If userId is -1, then information for all the groups will be returned. 
Return Value
SqlDataReader giving information about all the groups where a user is currently a member of. The SqlDataReader consists of the following columns.- GroupId (System.Int32)Id of the group, organization or department.
 - groupName (System.String)Name of the group, organization or department.
 - parentId (System.Int32)Id of the orgnization to which the department belongs if the Current record corresponds to that of a department.
 - type (System.String)Type of the group. Possible values are 'G', 'O' or 'D' corresponding to group, organization or department.
 
