From 029fdf1051c2992e4a08202589ddf3067bb512b9 Mon Sep 17 00:00:00 2001 From: Roman Rakus Date: Fri, 21 Sep 2012 14:19:59 +0200 Subject: account: CreateGroup implemented Signed-off-by: Roman Rakus --- mof/LMI_Account.mof | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'mof/LMI_Account.mof') 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") ] -- cgit