Informix Error -26463: User <user-name> is not unique for trusted context. </user-name>
Cause and resolution
User <user-name> is not unique for trusted context. </user-name>
During the CREATE TRUSTED CONTEXT or ALTER TRUSTED CONTEXT a duplicate value of user <user-name> was specified in the WITH USE FOR clause. The statement cannot be processed. </user-name>
To correct this error remove the non-unique specification of user name and and re-issue the statement.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26463 fires when CREATE/ALTER TRUSTED CONTEXT's WITH USE FOR clause lists the same
user more than once — per the official guidance.
- A duplicate user value in the
WITH USE FORclause, per the official guidance — the direct, only cause.
Solutions / Resolution
- Remove the non-unique user specification and reissue the statement, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a duplicated WITH USE FOR user.
Diagnostic Checks
- Check the
WITH USE FORclause for a repeated user name, and remove the duplicate.
Related Errors / Related Topics
- -26461 — "Attribute with value
is not unique for trusted context." The same class of duplicate-value error, for a general attribute rather than a WITH USE FORuser. - -26464 — "A CREATE TRUSTED CONTEXT or ALTER TRUSTED CONTEXT statement specified <%s> more than once or the trusted context is already defined to be used by this authorization ID or PUBLIC." A closely related error covering the same duplicate-usage pattern, plus the case of the authorization ID already being defined.
WITH USE FOR listed the same user more than once — remove the duplicate and reissue.