cwbUN_CheckSpecialAuthority

Purpose

Returns an indication of whether the iSeries™ Navigator user has a particular special authority on the iSeries server.

Syntax

CWBAPI unsigned int WINAPI cwbUN_CheckSpecialAuthority(
    const char * szSpecialAuthority,
    const char * szSystemName
    );

Parameters

const char * szSpecialAuthority - input
The iSeries server special authority to be checked. Possible values are:
const char * szSystemName - input
The name of the iSeries system on which to perform the check.

Return Codes

The following list shows common return values:

CWB_OK
The user has the specified special authority.
CWBUN_USER_NOT_AUTHORIZED
The user does not have the specified authority.
CWBUN_INTERNAL_ERROR
Special authority could not be checked.

Usage

None