beautypg.com

User sync api getusers operation, User sync api getusers operation 47 – Google Apps Security and Compliance Services Web Services Application Programming Interface Guide, Early Access Version 1.5 User Manual

Page 49

background image

User Sync API

47

User Sync API GetUsers Operation

Response

If successful, no data is returned except for an empty SOAP response (void).
Otherwise see “Exceptions” on page 44.

Exceptions

User Sync API API Infrastructure Exceptions -- See “Exceptions” on page 44,
and for exception handling recommendations, see “Exception Management” on
page 20.

C# Example

This v. 1.5 C# example is using the PMP password (pword) for authentication.
The example was developed using Microsoft Visual Studio 2005.

...

UserSyncAPI.UserSyncService wsCheckAuth = new

UserSyncAPI.UserSyncService();

UserSyncAPI.authElem authCredentials = new

UserSyncAPI.authElem();

authCredentials.apiKey = “

key>”;

authCredentials.email = “”;

authCredentials.pword = “”;

wsCheckAuth.checkauth(authCredentials);

...

Operation

GetUsers

Request: GetUsers (AuthElem, Criteria, Control)

Response: GetUsersResponse holding a UserRecord for each requested
user