get
Groups
open fun getGroups(userId: String, page: Int, pageSize: Int, authoredGroups: Boolean, groupName: String, roles: List<String>): PaginatedResponse<Group>
Method to get the user's groups list
Return
the groups list as PaginatedResponse of Group
Parameters
userId
The user identifier
page
The page requested
pageSize
The size of the items to insert in the page
authoredGroups
Whether retrieve only the groups authored by the requesting user
groupName
The name of the group to use as filter
roles
The role values to use as filter