beautypg.com

Errors, Return values – Google Message Security Batch Reference Guide User Manual

Page 231

background image

234

To list all users starting with the Sales organization, and including whether the
user is active, how the user was created and the date of creation:

listusers ALL, targetOrg=Sales, childorgs=1,

fields=active|create_method|created_ts

Default: fields=ADDRESS|ORGTAG

start

The start parameter is the starting index of the paginated sorted result pairs to
return in the search.

Default: start=0

end

The end parameter is the ending index of the paginated sorted result pairs to
return in the search.

Default: end=last

type_of_user

The tyep_of_user parameter is the user type being listed.

im -- List of IM users only

all -- List of all types of users

Errors

When using the Batch interface, if you want to return sub-organizations, the
childorg needs to be on (

childorg=1

). Otherwise a possible error message is

"0 of a total of 0 matching records found."

Note spelling of ‘orgtagqs’.

Return Values

Batch command interface return values:

Default return values for the sales organization using

listusers ALL,

targetOrg=Sales,

these comma delimited field-value strings are returned in

the Batch interface:

orgtag sales,

address [email protected]

Return values using Administration Console syntax: