ALTER SERVICE ACCOUNT ENABLE reference
Enterprise:
RBAC provides fine-grained database permissions management.
ALTER SERVICE ACCOUNT ... ENABLE turns a disabled service account back on.
Syntax
ALTER SERVICE ACCOUNT serviceAccountName ENABLE;
Description
The service account can authenticate and be assumed again, with the permissions and tokens it had before it was disabled.
A service account is enabled when created, so this is only needed after
DISABLE.
Examples
ALTER SERVICE ACCOUNT client_app ENABLE;
Verify with
SHOW SERVICE ACCOUNTS, which
reports true in its enabled column.