The SQL_CHECK_FUNCTION_USAGE scalar function returns an indication of whether the effective user of the thread is authorized to the specified function usage identifier, either directly, as a member of a group profile, or through adopted authority.
The validation is performed using the Check User Function Usage (QSYCKUFU, QsyCheckUserFunctionUsage) API. The usage setting for the user, the user's group, the default usage value, and the allow *ALLOBJ indicator for the function usage identifier are taken into account.
Was this topic helpful?
03 May 2022