user_status

This generic method defines if user is present or absent.

⚙️ Compatible targets: Windows

Parameters

NameDocumentation
userUser name.

This parameter is required.
statusDesired state for the user - can be 'Present' or 'Absent'.

Choices:
  • Present
  • Absent

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
  • ❌ Error: user_status_${user}_error

Example

method: user_status
params:
  user: VALUE
  status: Present