Web Services Developer's Guide → Web Services API Reference → SBM Application Web Services → Responses → PrivilegeHolder
The PrivilegeHolder type contains the PrivilegeInfo response and any errors for privileges that were not successfully returned. The PrivilegeHolder type parameters are listed below.
Name | Type | Description |
---|---|---|
privilege | PrivilegeInfo | Holds complete information about a privilege. |
access | Status | Holds status information for any messages or failures that are encountered. |
The PrivilegeHolder type returns detailed information for privileges from the SetGroupPrivileges and SetUserPrivileges calls. If any errors occur during the call, they are returned in the status element in the order in which they were processed.
The following XML shows PrivilegeHolder as seen in the <ae:privilege> element in a response.
<ae:privilege> <ae:privilegeId> <ae:name>TS_USRPRJPRIV_DELETE</ae:name> <ae:type>TS_PRIVTYPE_USERPRJ</ae:type> </ae:privilegeId> <ae:access>GRANTED</ae:access> <ae:objectId> <ae:displayName>IM Project</ae:displayName> <ae:id>3</ae:id> <ae:uuid>86ea7399-d634-451b-9de9-91bb30d67c1b</ae:uuid> </ae:objectId> </ae:privilege>
Copyright © 2007–2017 Serena Software, Inc. All rights reserved.