Informix Error -26462: User <user-name> cannot be dropped or altered because it is not part </user-name> of the definition of trusted context
Cause and resolution
User <user-name> cannot be dropped or altered because it is not part </user-name> of the definition of trusted context
User <user-name> was specified for a trusted context, but the trusted context is not defined with an user with this name. The statement could not be processed. </user-name>
To correct this error remove the name of the undefined user and re-issue the statement.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26462 fires when ALTER TRUSTED CONTEXT tries to drop/alter a user the trusted context
wasn't defined with — per the official guidance.
- The named user isn't part of the trusted context's definition, per the official guidance — the direct, only cause.
Solutions / Resolution
- Remove the name of the undefined user from the statement and reissue it, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond referencing an undefined user.
Diagnostic Checks
- Check the trusted context's actual defined users, and remove any that aren't part
of its definition from the
ALTERstatement.
Related Errors / Related Topics
- -26460 — "Attribute with value
cannot be dropped or altered because it is not part of the definition of trusted context" The same class of "not part of the definition" error, for attributes rather than users.
ALTER TRUSTED CONTEXT referenced a user not part of the context's definition — remove
it and reissue.