CimUser.Enabled (property)

Enables and disables the user
Syntax: Boolean = object.Enabled
object.Enabled = Boolean
Description: The CimUser.Enabled is a boolean indicating if the user is enabled. Disabled user accounts cannot be used to login.

Examples

user.Enabled = False