diff options
author | Roman Rakus <rrakus@redhat.com> | 2013-09-30 13:09:28 +0200 |
---|---|---|
committer | Roman Rakus <rrakus@redhat.com> | 2013-09-30 15:48:08 +0200 |
commit | aa43124a03ac0769b8d1a227a235cd67ca9def85 (patch) | |
tree | c287e6f2eda082be6981400cb9db5d3085c9edc8 /mof/60_LMI_Account.mof | |
parent | bbcd40456f9e8ef8124816b1eb0ea7cd68806cf6 (diff) | |
download | openlmi-providers-aa43124a03ac0769b8d1a227a235cd67ca9def85.tar.gz openlmi-providers-aa43124a03ac0769b8d1a227a235cd67ca9def85.tar.xz openlmi-providers-aa43124a03ac0769b8d1a227a235cd67ca9def85.zip |
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 <rrakus@redhat.com>
Diffstat (limited to 'mof/60_LMI_Account.mof')
-rw-r--r-- | mof/60_LMI_Account.mof | 10 |
1 files changed, 10 insertions, 0 deletions
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, |