Informix Error -26727: The SQL statement cannot assign operating system properties to the user (<username>). </username>
Cause and resolution
The SQL statement cannot assign operating system properties to the user (<username>). </username>
The specified user account is an operating system user account and it is managed by the operating system administrator. You can use the CREATE USER and ALTER USER statements only to grant administrative database server privileges to this user account. Use the AUTHORIZATION keyword with a valid authorization property: DBSA (Database Server Administrator), DBSSO (Database System Security Officer), AAO (Audit Analysis Officer), or BARGROUP (authority to execute ONBar commands).
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26727 fires when CREATE/ALTER USER tries to assign OS-level properties to an
OS-managed user account — per the official guidance.
- The user account is an OS user account managed by the OS administrator, per the
official guidance — the direct, only cause;
CREATE/ALTER USERcan only grant administrative database server privileges to such accounts, not OS properties.
Solutions / Resolution
- Use the
AUTHORIZATIONkeyword with a valid value (DBSA,DBSSO,AAO, orBARGROUP), per the official guidance, to grant administrative privileges instead of assigning OS properties.
Examples
Granting administrative privilege to an OS user
ALTER USER alice AUTHORIZATION DBSA;
Diagnostic Checks
- Check whether the target account is OS-managed, and use
AUTHORIZATIONrather than assigning OS properties.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -26727 in this set yet.
CREATE/ALTER USER tried to assign OS properties to an OS-managed account — use
AUTHORIZATION to grant database privileges instead.