Using Connect Enterprise Web Services |
|||
| Action reference > report-bulk-users | |||
Breeze 5; Connect Enterprise Web Services 6
Returns information about all users in an account. The difference between this call and principal-list is that principal-list returns both users and groups, while report-bulk-users returns only users.
The response from report-bulk-users can be quite large, especially if you use custom fields, so remember that you can filter and sort it. For example, the following call returns a list of all users who have the letters Jo in their name, in ascending order by name:
http://myserver.com/api/xml?action=report-bulk-users&sort-name=asc
&filter-like-name=Jo
If you pass custom-fields=true, by default report-bulk-users returns up to eight custom fields defined for users. If you have defined more than eight custom fields for users, report-bulk-users returns the first eight in the list in the Customize User Profile screen in Connect Enterprise Manager (at Administration > Users and Groups > Customize User Profile).
If you use Enterprise Server, you can set a value for REPORT_MAX_CUSTOM_FIELDS in the custom.ini file to have report-bulk-users return more than eight custom fields (for more information, see Adobe Connect Enterprise Installation and Configuration Guide). You can use any value, but higher values risk a greater impact to database performance. You cannot change this setting on Enterprise Hosted.
http://server_name/api/xml ?action=report-bulk-users &custom-fields=boolean&filter-definition=value&sort-definition=value&session=BreezeSessionCookieValue
|
Name |
Type |
Required |
Description |
|---|---|---|---|
custom-fields
|
Boolean |
N |
Whether to return custom fields in the response. Returns up to eight custom fields. If true, the |
filter-definition
|
Filter definition |
N |
A filter to reduce the volume of the response. |
sort-definition
|
Sort definition |
N |
A sort to return results in a certain sequence. |
session
|
String |
N |
The value of the |
You can filter or sort the response on any element or attribute it contains.
Do not use filter-type with report-bulk-users; use filter-like-type instead.
<?xml version="1.0" encoding="utf-8" ?>
<results>
<status code=allowedValue />
<report-bulk-users>
<row principal-id=integer>
<login>string</login>
<name>string</name>
<email>string</email>
<manager>string</manager>
<type>allowedValue</type>
.. any custom fields ..
</row>
...
</report-bulk-users>
</results>
|
Element |
Attribute |
Type |
Description |
|---|---|---|---|
results
|
|
Container |
Top-level element for the response. |
status
|
|
Empty, with attributes |
The status of the response. |
|
code
|
Allowed value |
A code indicating the response status (see status). |
report-bulk-users
|
|
Container |
The entire list of users in the account. |
row
|
|
Container |
Details about one user in the account. |
|
principal-id
|
Integer |
The ID of the user. |
login
|
|
String |
The user's login ID, often an e-mail address. |
name
|
|
String |
The full name of the user, concatenated from the user's first name and last name. |
email
|
|
String |
The user's e-mail address. |
manager
|
|
String |
The user's manager, also a registered user. Returned if a manager has been set for the user. Not returned if |
type
|
|
Allowed value |
The type of user, either |
https://example.com/api/xml?action=report-bulk-users&filter-like-name=john
<?xml version="1.0" encoding="utf-8" ?>
<results>
<status code="ok" />
<report-bulk-users>
<row principal-id="5417288">
<login>john@example.com</login>
<name>John Owens</name>
<email>john@example.com</email>
<type>guest</type>
</row>
<row principal-id="5417255">
<login>jsmith@example.com</login>
<name>John Smith</name>
<email>jsmith@example.com</email>
<type>guest</type>
</row>
...
</report-bulk-users>
</results>
report-bulk-objects, report-bulk-questions, report-bulk-slide-views, report-bulk-consolidated-transactions
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/breeze/6/xml_api/04b_act8.htm