Application Programming Interface Guide > Web Services Operations > Operations Reference > getGroupsByUser
 
getGroupsByUser
Get the definitions of all groups that contain the given user and are also within the given domain.
Location
/services/webservices/system/admin/user/operations/
Request Elements
userName: The name of the user whose groups to retrieve.
domainName: The domain of the user whose groups to retrieve.
Response Elements
groups: List of groups within the domain. See Groups Element.
Faults
NotFound: If the user does not exist.
NotFound: If the domain does not exist.
Security: If the operation user does not have the ACCESS_TOOLS and READ_ALL_USERS rights.