Macromedia breeze-using the breeze xml web services User Manual

Page of 196
permissions-info
53
Filters
The following table lists the fields that the data can be filtered and sorted on:
Note: Principals’ logged-in-access and public-access are always returned in the data set, 
irrespective of the filter restrictions.
For more information about filtering and sorting, see 
Returned elements
Sample results
The following XML data is returned when the 
principal-id
 parameter is not passed and 
contains information about all principals:
<results>
<status code="ok" />
<permissions>
<principal principal-id="181248" is-primary="false" type="user" 
has-children="false" permission-id="view">
<name>Englesberg, Ari</name>
<login>englesberg@example.com</login>
</principal>
<principal principal-id="181249" is-primary="false" type="user" 
has-children="false" permission-id="view">
<name>Milligan, Susan</name>
<login>milligan@example.com</login>
</principal>
</permissions>
</results>
The following XML data is returned when the 
principal-id
 parameter is passed:
<results>
<status code="ok" />
<permission acl-id="27" permission-id="manage" principal-id="8" />
</results>
If the principal has not been assigned permissions to the SCO, the status code 
no-data
 is 
returned.
Field
Filter/Sort
is-primary
Filter and sort
type
Filter and sort
has-children
Filter and sort
permission-id
Filter and sort
name
Filter and sort
login
Filter and sort
description
Filter and sort