user_status
This generic method defines if user is present or absent.
⚙️ Compatible targets: Windows
Parameters
Name | Documentation |
---|---|
user | User name. This parameter is required. |
status | Desired state for the user - can be 'Present' or 'Absent'. Choices:
This parameter is required. |
Outcome conditions
You need to replace ${user}
with its actual canonified value.
- ✅ Ok:
user_status_${user}_ok
- ☑️ Already compliant:
user_status_${user}_kept
- 🟨 Repaired:
user_status_${user}_repaired
- ☑️ Already compliant:
- ❌ Error:
user_status_${user}_error
Example
method: user_status
params:
user: VALUE
status: Present