Application Programming Interface Guide > Web Services Operations > Operations Reference > getDomainGroups
 
getDomainGroups
Get the group definitions within a domain.
If the scope is LOCAL_ONLY, only the groups the server has local definitions for are returned. If the scope is ALL, all groups are returned. For locally defined domains, like the composite domain, both options return the same list. For domains with external storage such as LDAP, only some of the groups in the external storage may have been created as local groups, so the returned lists may differ.
Location
/services/webservices/system/admin/user/operations/
Request Elements
domainName: The domain name. scope: Either ALL or LOCAL_ONLY.
scope: LOCAL_ONLY or ALL.
Response Elements
groups: List of groups within the domain. See Groups Element.
Faults
IllegalArgument: If an invalid scope is provided.
NotFound: If the domain does not exist.
Security: If the user does not have the ACCESS_TOOLS and READ_ALL_USERS rights.