Informix Error -26726: Cannot drop the USER property for the user (<username>) because a value is specified. Do not include a value for the USER property with the DROP option. </username>
Cause and resolution
Cannot drop the USER property for the user (<username>) because a value is specified. Do not include a value for the USER property with the DROP option. </username>
In an ALTER USER operation to drop a specified property, a value should be supplied only when the property is GROUP or AUTHORIZATION. For all other properties, a property value cannot be specified.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26726 fires when ALTER USER ... DROP USER includes a value — per the official
guidance.
- A value was specified for
USERalongsideDROP, per the official guidance — the direct, only cause; a value withDROPis only valid forGROUP/AUTHORIZATION, not other properties.
Solutions / Resolution
- Remove the value from the
DROP USERclause, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a DROP USER property-clause with
an included value.
Diagnostic Checks
- Check the
DROP USERproperty clause for an included value, and remove it.
Related Errors / Related Topics
- -26721 — "Cannot drop the password for the user (
) because the password is specified. Do not include a value for the PASSWORD property with the DROP option." The same class of DROP-with-value restriction, forPASSWORDrather than theUSERproperty. - -26724 — "Cannot drop the HOMEDIR property for the user (
) because a value is specified. Do not include a value for the HOMEDIR property with the DROP option." The same class of DROP-with-value restriction, forHOMEDIRrather than theUSERproperty. - -26725 — "Cannot drop the UID property for the user (
) because a value is specified. Do not include a value for the UID property with the DROP option." The same class of DROP-with-value restriction, forUIDrather than theUSERproperty.
DROP of the USER property included a value, which isn't allowed — remove it.