From aa43124a03ac0769b8d1a227a235cd67ca9def85 Mon Sep 17 00:00:00 2001 From: Roman Rakus Date: Mon, 30 Sep 2013 13:09:28 +0200 Subject: Account: Add DeleteGroup method to be consistent with user's deletion User deletetion is done by DeleteUser method. Added similar method to delete a group. Also do the check if the group isn't a primary group of a user. Changed documentation accordingly. Signed-off-by: Roman Rakus --- mof/60_LMI_Account.mof | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'mof') diff --git a/mof/60_LMI_Account.mof b/mof/60_LMI_Account.mof index 153222e..a4cfdda 100644 --- a/mof/60_LMI_Account.mof +++ b/mof/60_LMI_Account.mof @@ -216,6 +216,16 @@ class LMI_Identity: CIM_Identity [ Version("0.2.0"), Provider("cmpi:cmpiLMI_Account") ] class LMI_Group: CIM_Group { + [ Description ( + "Delete the group. The group is not deleted if it is a primary group " + "of a user." ), + ValueMap { "0", "1", "..", "4096", "4097" }, + Values { "Operation completed successfully", + "Failed", + "DMTF Reserved", + "Non existing group", + "Group is primary group of a user"}] + uint32 DeleteGroup(); }; [ Version("0.2.0"), Association, -- cgit