GrantState

Description

The PrivilegeKind enumeration describes a privilege as either an admin or user type of privilege. The PrivilegeKind type parameters are listed below.

Parameters

Name Type Description
USER-KIND string Denotes a user type of privilege.
ADMIN-KIND string Denotes an admin type of privilege.

Usage

All privileges in SBM are divided into two categories: user privileges and administrator privileges. The PrivilegeKind enumeration is used to make this distinction.

XML

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>