osc identity user set
Updates a user.
If the back-end driver does not support this functionality, this call might return the HTTP Not Implemented (501)
response code.
Relationship: https://docs.openstack.org/api/openstack-identity/3/rel/user
Usage: osc identity user set [OPTIONS] <ID>
Arguments:
<ID>
— user_id parameter for /v3/users/{user_id} API
Options:
-
--default-project-id <DEFAULT_PROJECT_ID>
— The ID of the default project for the user -
--description <DESCRIPTION>
-
--domain-id <DOMAIN_ID>
— The ID of the domain -
--enabled <ENABLED>
— If the user is enabled, this value istrue
. If the user is disabled, this value isfalse
Possible values:
true
,false
-
--federated <JSON>
— List of federated objects associated with a user. Each object in the list contains theidp_id
andprotocols
.protocols
is a list of objects, each of which containsprotocol_id
andunique_id
of the protocol and user respectively. For example: -
--name <NAME>
— The user name. Must be unique within the owning domain -
--ignore-change-password-upon-first-use <IGNORE_CHANGE_PASSWORD_UPON_FIRST_USE>
Possible values:
true
,false
-
--ignore-lockout-failure-attempts <IGNORE_LOCKOUT_FAILURE_ATTEMPTS>
Possible values:
true
,false
-
--ignore-password-expiry <IGNORE_PASSWORD_EXPIRY>
Possible values:
true
,false
-
--ignore-user-inactivity <IGNORE_USER_INACTIVITY>
Possible values:
true
,false
-
--lock-password <LOCK_PASSWORD>
Possible values:
true
,false
-
--multi-factor-auth-enabled <MULTI_FACTOR_AUTH_ENABLED>
Possible values:
true
,false
-
--multi-factor-auth-rules <MULTI_FACTOR_AUTH_RULES>
-
--password <PASSWORD>
— The new password for the user