diff options
Diffstat (limited to 'mof/60_LMI_Account.mof')
-rw-r--r-- | mof/60_LMI_Account.mof | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/mof/60_LMI_Account.mof b/mof/60_LMI_Account.mof index 0a79f59..fdf748f 100644 --- a/mof/60_LMI_Account.mof +++ b/mof/60_LMI_Account.mof @@ -44,6 +44,33 @@ class LMI_Account: CIM_Account [ Description("The date of expiration of the account.") ] datetime AccountExpiration; + + [ Description ( + "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 { "0", "1", "..", "4096", "4097", "4098", "4099" }, + Values { "Operation completed successfully", + "Failed", + "DMTF Reserved", + "Non existing user", + "Unable to delete Home Direcotry", + "Unable to remove user, home directory removed", + "Unable to remove group, user and home directory removed" }] + uint32 DeleteUser( + [IN, Description ( + "By default the user's home directory is deleted. Set to true " + "to not delete the home directory.")] + boolean DontDeleteHomeDirectory, + [IN, Description ( + "By default the user's private group, if the user has one, " + "is deleted. Set to true to not delete the group.")] + boolean DontDeleteGroup, + [IN, Description ( + "Force the deletion of user's home directory, even if the user " + "is not an owner.")] + boolean Force); }; [ Version("0.2.0"), |