diff options
Diffstat (limited to 'mof/LMI_Account.mof')
-rw-r--r-- | mof/LMI_Account.mof | 50 |
1 files changed, 49 insertions, 1 deletions
diff --git a/mof/LMI_Account.mof b/mof/LMI_Account.mof index ce89884..b2cbc00 100644 --- a/mof/LMI_Account.mof +++ b/mof/LMI_Account.mof @@ -44,8 +44,56 @@ class LMI_Account: CIM_Account "destroys Linux Accounts on behalf of other SecuritySerices."), Provider("cmpi:cmpiCura_Account") ] -class LMI_AccountManagementService: CIM_AccountManagementService +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") ] + uint32 CreateAccount( + [Required, IN, Description ( + "The scoping ComputerSystem in which to create the Account." + )] + CIM_ComputerSystem REF System, + [Required, IN, Description ( + "Desired user login name for the account to be created." ) ] + string Name, + [IN, Description ( + "GECOS information for new user" ) ] + string GECOS, + [IN, Description ( + "Set home directory for the user." ) ] + string HomeDirectory, + [IN, Description ( + "Wheter to create home directory." ) ] + boolean DontCreateHome, + [IN, Description ( + "Default shell for new user" ) ] + string Shell, + [IN, Description ( + "Pick a specific user id for new user" ) ] + uint32 UID, + [IN, Description ( + "Pick a specific group id for new user" ) ] + uint32 GID, + [IN, Description ( + "True for creating system account" ) ] + boolean SystemAccount, + [IN, Description ( + "Encryted password for new user" ) ] + string Password, + [IN, Description ( + "Whether to create group" ) ] + boolean DontCreateGroup, + [IN ( false ), OUT, Description ( + "Reference to the instance of CIM_Account created " + "when the method returns a value of 0." )] + CIM_Account REF Account, + [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") ] |