beautypg.com

Google Apps Security and Compliance Services Web Services Application Programming Interface Guide, Early Access Version 1.5 User Manual

Page 50

background image

48

Message Security and Compliance Application Programming Interface Guide RELEASE EA version 1.5

Description

Returns a list of users, with their specified information, within the list of
organizations matched by the criteria requested by the your application. For
more information on the GetUsers responses, see “Responses” on page 50.

The GetUsers request contains:

AuthElem -- Sets the authorization credentials for a web service request.
For specific information, see “Authorization” on page 43. This is required.

Type: struct

Criteria -- An organization’s criteria defines the list of users being retrieved.
This is required.

Type: GetUsersCriteria

A GetUsersCriteria element has these sub-elements:

OrgIn -- An explicit list of organization names

Type: OrgList. An OrgList has an unlimited number of ‘Org’ string
elements.

InAccountOrgHierarchy -- If true, displays all users in all organizations
under the account.

Type: boolean

InOrgHierarchyUnder -- Displays all users in the specified org and sub-
organizations.

Type: string

Note:

The Orgin, InAccountOrgHierarchy, and InOrgHierarchyUnder

elements are mutually exclusive. Use one of these elements, but not two or
more. The InvalidCriteriaException exception is thrown if more than one is
used.