getGroups

fun getGroups(userIsParticipant: Boolean): Single<List<Group>>

Gets the user's groups.

Return

A single that will emit the list of groups when the request is processed. In case of error, it will emit a SippoResourceError.

Parameters

userIsParticipant

If true, only the groups where the local user is participating will be retrieved. If it is false, all groups will be returned.