Purpose
Returns an indication of whether the iSeries™ Navigator user has authority to a particular object on the iSeries server.
Syntax
CWBAPI unsigned int WINAPI cwbUN_CheckObjectAuthority( const char * szObjectPath, const char * szObjectType, const char * szAuthorityType, const char * szSystemName );
Parameters
If more than one authority is to be checked, the authorities should be concatenated (for example, *OBJMGT*OBJEXIST). Up to eleven authority types may be specified on a single call. The function will return CWB_OK only if the user has all of the specified authorities to the object.
Return Codes
The following list shows common return values:
Usage
If *EXCLUDE is specified as an authority, no other authority types may be specified. *AUTLMGT is valid only if 'szObjectType' is *AUTL.