Subclass of CIM_Account
Class representing Linux Account
string HomeDirectory
User’s home directory
datetime AccountExpiration
The date of expiration of the account.
datetime PasswordLastChange
The date when was password last changed
string LoginShell
User’s login shell
datetime PasswordPossibleChange
Minimum number of days between password change
datetime PasswordExpirationWarning
Number of days of warning before password expires
datetime PasswordInactivation
Maximum number of days between password change
uint32 DeleteUser (boolean DontDeleteHomeDirectory, boolean DontDeleteGroup, boolean Force)
Delete the user. Along with the user, the home directory and user’s primary group are deleted. If the user is not owner of the home directory it is not deleted. However this directory can be deleted if force parameter is set to True.
ValueMap Values 0 Operation completed successfully 1 Failed DMTF Reserved 4096 Non existing user 4097 Unable to delete Home Direcotry 4098 Unable to remove user, home directory removed 4099 Unable to remove group, user and home directory removed Parameters
- IN boolean DontDeleteHomeDirectory
- By default the user’s home directory is deleted. Set to true to not delete the home directory.
- IN boolean DontDeleteGroup
- By default the user’s private group, if the user has one, is deleted. Set to true to not delete the group.
- IN boolean Force
- Force the deletion of user’s home directory, even if the user is not an owner.