Informix Error -26100: You cannot set the GRANT ACCESS or REVOKE ACCESS properties when the USERMAPPING onconfig parameter is OFF
Cause and resolution
You cannot set the GRANT ACCESS or REVOKE ACCESS properties when the USERMAPPING onconfig parameter is OFF
The GRANT ACCESS and REVOKE ACCESS statements can only be used if the ONCONFIG parameter USERMAPPING is ON.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26100 fires when GRANT ACCESS/REVOKE ACCESS is used while the USERMAPPING
ONCONFIG parameter is OFF — per the official guidance.
USERMAPPINGisOFFin ONCONFIG, per the official guidance — the direct, only cause;GRANT ACCESS/REVOKE ACCESSrequire it to beON.
Solutions / Resolution
- Set
USERMAPPINGtoONin ONCONFIG and restart/reload the configuration, per the official guidance, before usingGRANT ACCESS/REVOKE ACCESS.
Examples
N/A
No specific triggering statement is documented beyond USERMAPPING being OFF.
Diagnostic Checks
- Check the
USERMAPPINGONCONFIG parameter's current value, and set it toONifGRANT ACCESS/REVOKE ACCESSare needed.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -26100 in this set yet.
GRANT ACCESS/REVOKE ACCESS were used while USERMAPPING is OFF — set it ON in
ONCONFIG first.