List groups

Retrieves all groups of a domain or a user.