summaryrefslogtreecommitdiffstats
path: root/mof/60_LMI_Account.mof
diff options
context:
space:
mode:
authorRoman Rakus <rrakus@redhat.com>2013-09-05 14:49:22 +0200
committerRoman Rakus <rrakus@redhat.com>2013-09-05 15:21:56 +0200
commitfd2badb57fcf77ad774d963106972624aa594a4e (patch)
treea2b5491c0a290c03c0a52b48d6a5870ea51dfe15 /mof/60_LMI_Account.mof
parent82c25225c1c8e817bfee0c8d0bb5ad2d1fa1faf3 (diff)
downloadopenlmi-providers-fd2badb57fcf77ad774d963106972624aa594a4e.tar.gz
openlmi-providers-fd2badb57fcf77ad774d963106972624aa594a4e.tar.xz
openlmi-providers-fd2badb57fcf77ad774d963106972624aa594a4e.zip
Account: Better return values for methods
Signed-off-by: Roman Rakus <rrakus@redhat.com>
Diffstat (limited to 'mof/60_LMI_Account.mof')
-rw-r--r--mof/60_LMI_Account.mof17
1 files changed, 15 insertions, 2 deletions
diff --git a/mof/60_LMI_Account.mof b/mof/60_LMI_Account.mof
index fdf748f..ce603ec 100644
--- a/mof/60_LMI_Account.mof
+++ b/mof/60_LMI_Account.mof
@@ -82,7 +82,14 @@ class LMI_AccountManagementService: CIM_SecurityService
// It would be good to inherit from CIM_AccountManagementService
// however I don't if to create instance from embeddedinstance is a good way
{
- [ Description ( "Create a new account on the system") ]
+ [ Description ( "Create a new account on the system"),
+ ValueMap { "0", "1", "2", "..", "4096", "4097"},
+ Values { "Operation completed successfully",
+ "Operation unsupported",
+ "Failed",
+ "DMTF Reserved",
+ "Unable to set password, user created",
+ "Unable to create home directory, user created and password set" }]
uint32 CreateAccount(
[Required, IN, Description (
"The scoping ComputerSystem in which to create the Account."
@@ -128,7 +135,13 @@ class LMI_AccountManagementService: CIM_SecurityService
"such instances are created." )]
CIM_Identity REF Identities[]);
- [ Description ( "Create a new group on the system") ]
+ [ Description ( "Create a new group on the system"),
+ ValueMap { "0", "1", "2", ".."},
+ Values { "Operation completed successfully",
+ "Operation unsupported",
+ "Failed",
+ "DMTF Reserved" }]
+
uint32 CreateGroup(
[Required, IN, Description (
"The scoping ComputerSystem in which to create the Account."