Parameter |
Choices/Defaults |
Comments |
account_disabled
bool
(added in 1.9) |
|
yes will disable the user account.
no will clear the disabled flag.
|
account_locked
(added in 1.9) |
|
no will unlock the user account if locked.
|
description
(added in 1.9) |
|
Description of the user.
|
fullname
(added in 1.9) |
|
Full name of the user.
|
groups
(added in 1.9) |
|
Adds or removes the user from this comma-separated lis of groups, depending on the value of groups_action. When groups_action is replace and groups is set to the empty string ('groups='), the user is removed from all groups.
|
groups_action
(added in 1.9) |
Choices:
- add
replace ←
- remove
|
If add , the user is added to each group in groups where not already a member.
If replace , the user is added as a member of each group in groups and removed from any other groups.
If remove , the user is removed from each group in groups.
|
name
required |
|
Name of the user to create, remove or modify.
|
password
|
|
Optionally set the user's password to this (plain text) value.
|
password_expired
bool
(added in 1.9) |
|
yes will require the user to change their password at next login.
no will clear the expired password flag.
|
password_never_expires
bool
(added in 1.9) |
|
yes will set the password to never expire.
no will allow the password to expire.
|
state
|
Choices:
- absent
present ←
- query
|
When absent , removes the user account if it exists.
When present , creates or updates the user account.
When query (new in 1.9), retrieves the user account details without making any changes.
|
update_password
(added in 1.9) |
Choices:
always ←
- on_create
|
always will update passwords if they differ. on_create will only set the password for newly created users.
|
user_cannot_change_password
bool
(added in 1.9) |
|
yes will prevent the user from changing their password.
no will allow the user to change their password.
|