Using Connect Enterprise Web Services |
|||
| Action reference > permissions-update | |||
Breeze 4 and Breeze 5; Connect Enterprise Web Services 6
Updates the permissions a principal has to access a SCO, using a trio of principal-id, acl-id, and permission-id. To update permissions for multiple principals or objects, specify multiple trios. You can update more than 200 permissions in a single call to permissions-update.
Call permissions-update to give a user access to an Acrobat Connect meeting, course, curriculum, or other SCO. For example, you can use permissions-update to:
permission-id of view, mini-host, or host, respectively)permission-id of remove)permission-id of view)If you use multiple trios and any of them have invalid information (for example, an incorrect acl-id or principal-id), permissions-update returns an ok status, the correct trios execute, and the invalid ones do not.
http://server_name/api/xml?action=permissions-update &acl-id=integer&principal-id=integer&permission-id=allowedValue&session=BreezeSessionCookieValue
|
Name |
Type |
Required |
Description |
|---|---|---|---|
acl-id
|
Integer |
Y |
The ID of a SCO (a |
principal-id
|
Integer |
Y |
The ID of a principal, either a user or group. |
permission-id
|
String |
Y |
The permission to assign (see permission-id for values). |
session
|
String |
N |
The value of the |
Results cannot be filtered or sorted.
<?xml version="1.0" encoding="utf-8" ?>
<results>
<status code=code />
</results>
|
Element |
Attribute |
Type |
Description |
|---|---|---|---|
|
|
Container |
All results the action returns. |
status
|
|
Empty, with attributes |
The status of the response. |
|
|
Allowed value |
A code indicating the response status (see status). |
https://example.com/api/xml?action=permissions-update&acl-id=2006334033
&principal-id=2006258745&permission-id=host
<?xml version="1.0" encoding="utf-8" ?>
<results>
<status code="ok" />
</results>
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/breeze/6/xml_api/04a_ac18.htm