Rename a user.
This function requires GRANT
privileges on the @thingsdb
scope.
This function generates a change.
rename_user(current_name, new_name)
Argument | Type | Description |
---|---|---|
current_name |
str (required) | Current user name. |
new_name |
str (required) | New name for the user. |
Returns nil
when successful.