Web Services Developer's Guide → Web Services API Reference → SBM Application Web Services → Common Types → GrantState
The GrantState enumeration describes privilege or role assignments for a user. The GrantState type parameters are listed below.
|INHERITED||string||Denotes that the privilege is inherited from a parent entity.|
|REVOKED||string||Denotes that the privilege or role is disabled.|
|GRANTED||string||Denotes that the privilege or role is enabled.|
Use the GrantState enumeration to enable, disable, or inherit privileges or role assignments. The GrantState enumeration is also returned by various calls that retrieve information about privileges or role assignments.
The following XML shows GrantState in the <urn:access> element of the SetUserPrivileges call.
<urn:privilege> <urn:privilegeId> <urn:name>TS_USRPRJPRIV_DELETE</urn:name> </urn:privilegeId> <urn:access>GRANTED</urn:access> <urn:objectId> <urn:displayName>IM Project</urn:displayName> </urn:objectId> </urn:privilege>
Copyright © 2007–2018 Serena Software, Inc., a Micro Focus company. All rights reserved.