Web Services Developer's Guide → Web Services API Reference → SBM Administrative Web Services → Administrative Calls → GetRoleGroups
This services returns a list of groups that are granted a particular role in a specified project.
Argument | Type | Description |
---|---|---|
auth (optional) | Auth | The Auth type supplies credentials and optionally, a host name for licensing. The userId and password can be specified with HTTP BASIC or WS-SECURITY instead. |
role | RoleIdentifier | Indicates the role that is used to find groups. |
options | MultipleOptions | Holds name value pairing for future elements and enumeration to determine if the service should stop on failure and send an error message, or continue processing. |
GroupHolder is returned. The GroupHolder response contains the GroupIdentifier and additional information about the group. For more specific information, see GroupHolder.
The RoleIdentifier uniquely identifies the role. You must specify a project in the RoleIdentifier in order to return groups. If an invalid role or no role is specified at all, the call will succeed, but no group information will be returned.
The following XML is a snippet of the payload that is sent with GetRoleGroups.
<urn:GetRoleGroups> <urn:auth> <urn:userId>admin</urn:userId> </urn:auth> <urn:role> <urn:displayName>IM Manager</urn:displayName> <urn:projectId> <urn:displayName>IM Project</urn:displayName> </urn:projectId> </urn:role> <urn:options> <urn:multiOption>CONTINUE-ON-FAILURE</urn:multiOption> </urn:options> </urn:GetRoleGroups>
Copyright © 2007–2017 Serena Software, Inc. All rights reserved.