summaryrefslogtreecommitdiffstats
path: root/mof
diff options
context:
space:
mode:
authorRoman Rakus <rrakus@redhat.com>2012-09-21 14:19:59 +0200
committerRoman Rakus <rrakus@redhat.com>2012-09-21 14:19:59 +0200
commit029fdf1051c2992e4a08202589ddf3067bb512b9 (patch)
tree9c6a67353251b254cb9f0fd98a71c99f06c30bfc /mof
parent1285ef838782a6399606fc5af96e288236edf8e2 (diff)
downloadopenlmi-providers-029fdf1051c2992e4a08202589ddf3067bb512b9.tar.gz
openlmi-providers-029fdf1051c2992e4a08202589ddf3067bb512b9.tar.xz
openlmi-providers-029fdf1051c2992e4a08202589ddf3067bb512b9.zip
account: CreateGroup implemented
Signed-off-by: Roman Rakus <rrakus@redhat.com>
Diffstat (limited to 'mof')
-rw-r--r--mof/LMI_Account.mof25
1 files changed, 25 insertions, 0 deletions
diff --git a/mof/LMI_Account.mof b/mof/LMI_Account.mof
index b2cbc00..75f0cf1 100644
--- a/mof/LMI_Account.mof
+++ b/mof/LMI_Account.mof
@@ -94,6 +94,31 @@ class LMI_AccountManagementService: CIM_SecurityService
"such instances are created." )]
CIM_Identity REF Identities[]);
+ [ Description ( "Create a new group on the system") ]
+ uint32 CreateGroup(
+ [Required, IN, Description (
+ "The scoping ComputerSystem in which to create the Account."
+ )]
+ CIM_ComputerSystem REF System,
+ [Required, IN, Description (
+ "Desired group name for the account to be created." ) ]
+ string Name,
+ [IN, Description (
+ "Pick a specific group id for new user" ) ]
+ uint32 GID,
+ [IN, Description (
+ "True for creating system account" ) ]
+ boolean SystemAccount,
+ [IN ( false ), OUT, Description (
+ "Reference to the instance of CIM_Group created "
+ "when the method returns a value of 0." )]
+ CIM_Group REF Group,
+ [IN ( false ), OUT, Description (
+ "Reference to the instances of CIM_Identity created "
+ "when the method returns a value of 0. NULL if no "
+ "such instances are created." )]
+ CIM_Identity REF Identities[]);
+
};
[ Provider("cmpi:cmpiCura_Account") ]