Using Connect Enterprise Web Services |
|||
| Action reference > acl-field-info | |||
Breeze 5, Connect Enterprise Web Services 6
Returns information about a principal, account, or SCO, as defined in an access control list (ACL).
The returned information includes fields and their values. Each field has an ID--a name that describes the field.
To call acl-field-info, you must have view permission for the principal, account, or object. You must also specify a value for acl-id, which is the object the principal has access to. The acl-id can be a sco-id, an account-id, or a principal-id. You can call principal-list to determine the account-id or principal-id, or sco-shortcuts or sco-contents to get a sco-id.
http://server_name/api/xml?action=acl-field-info &acl-id=integer&session=BreezeSessionCookieValue
|
Name |
Type |
Required |
Description |
|---|---|---|---|
acl-id
|
Integer |
Y |
The ID of the SCO, account, or principal for which you want field information. Can be a valid |
session
|
String |
N |
The value of the |
Results cannot be filtered or sorted.
<?xml version="1.0" encoding="utf-8" ?>
<results>
<status code=allowedValue />
<acl-fields>
<field acl-id=integer field-id=string>
<value>string</value>
</field>
...
</acl-fields>
</results>
|
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). |
acl-fields
|
|
Container |
Information about all fields describing the principal, account, or object. |
field
|
|
Container |
One field describing the principal, account, or object. |
|
acl-id
|
Integer |
The |
|
field-id
|
String |
The name of the field. |
value
|
|
String |
The value of the field. |
https://example.com/api/xml?action=acl-field-info&acl-id=2006258745
<?xml version="1.0" encoding="utf-8" ?>
<results>
<status code="ok" />
<acl-fields>
<field acl-id="2006258745" field-id="email">
<value>joy@acme.com</value>
</field>
<field acl-id="2006258745" field-id="first-name">
<value>Joy</value>
</field>
<field acl-id="2006258745" field-id="last-name">
<value>Smith</value>
</field>
</acl-fields>
</results>
acl-field-list, acl-field-update
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_act3.htm