permissions-update

Availability

Breeze 4 and Breeze 5; Connect Enterprise Web Services 6

Description

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:

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.

Request URL

http://server_name/api/xml
    ?action=permissions-update
    &acl-id=integer
    &principal-id=integer
    &permission-id=allowedValue
    &session=BreezeSessionCookieValue

Parameters

Name

Type

Required

Description

acl-id

Integer

Y

The ID of a SCO (a sco-id) for which you want to update permissions.

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 BREEZESESSION cookie. Use this parameter if you do not use a client-side cookie management library.

Filters

Results cannot be filtered or sorted.

Response structure

<?xml version="1.0" encoding="utf-8" ?> 
<results>
  <status code=code /> 
</results>

Response values

Element

Attribute

Type

Description

results  

Container

All results the action returns.

status  

Empty, with attributes

The status of the response.

  code

Allowed value

A code indicating the response status (see status).

Sample request

https://example.com/api/xml?action=permissions-update&acl-id=2006334033
    &principal-id=2006258745&permission-id=host

Sample response

<?xml version="1.0" encoding="utf-8" ?> 
<results>
    <status code="ok" />
</results>

See also

permissions-info, permissions-reset


Take a survey


 

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