Web Services Developer's Guide → Web Services API Reference → SBM Administrative Web Services → Common Types → GrantState
The PrivilegeKind enumeration describes a privilege as either an admin or user type of privilege. The PrivilegeKind type parameters are listed below.
| Name | Type | Description |
|---|---|---|
| USER-KIND | string | Denotes a user type of privilege. |
| ADMIN-KIND | string | Denotes an admin type of privilege. |
All privileges in SBM are divided into two categories: user privileges and administrator privileges. The PrivilegeKind enumeration is used to make this distinction.
The following XML shows PrivilegeKind in the <urn:kind> element of the GetPrivilegeTypes call.
<urn:GetPrivilegeTypes>
<urn:auth>
<urn:userId>bill</urn:userId>
<urn:password></urn:password>
<urn:hostname></urn:hostname>
</urn:auth>
<urn:kind>ADMIN-KIND</urn:kind>
</urn:GetPrivilegeTypes>
Copyright © 2007–2015 Serena Software, Inc. All rights reserved.