LMI_AccountManagementService¶
Subclass of CIM_SecurityService
LMI_AccountManagementService creates, manages, and if necessary destroys Linux Accounts on behalf of other SecurityServices.
Key properties¶
Local properties¶
None
Local methods¶
uint32 CreateAccount (CIM_ComputerSystem System, string Name, string GECOS, string HomeDirectory, boolean DontCreateHome, string Shell, uint32 UID, uint32 GID, boolean SystemAccount, string Password, boolean DontCreateGroup, boolean PasswordIsPlain, CIM_Account Account, CIM_Identity[] Identities)
Create a new account on the system
ValueMap Values 0 Operation completed successfully 1 Operation unsupported 2 Failed DMTF Reserved 4096 Unable to set password, user created 4097 Unable to create home directory, user created and password set Parameters
- IN CIM_ComputerSystem System
- The scoping ComputerSystem in which to create the Account.
- IN
stringName- Desired user login name for the account to be created.
- IN
stringGECOS- GECOS information for new user
- IN
stringHomeDirectory- Set home directory for the user.
- IN
booleanDontCreateHome- Wheter to create home directory.
- IN
stringShell- Default shell for new user
- IN
uint32UID- Pick a specific user id for new user
- IN
uint32GID- Pick a specific group id for new user
- IN
booleanSystemAccount- True for creating system account
- IN
stringPassword- Password for a new user. By default has to be encrypted, but can be plaintext if PasswordIsPlain is set to true
- IN
booleanDontCreateGroup- Whether to create group
- IN
booleanPasswordIsPlain- If set to true, the Password is treated as plain text, otherwise has to be ecnrypted
- OUT CIM_Account Account
- Reference to the instance of CIM_Account created when the method returns a value of 0.
- OUT CIM_Identity[] Identities
- Reference to the instances of CIM_Identity created when the method returns a value of 0. NULL if no such instances are created.
uint32 CreateGroup (CIM_ComputerSystem System, string Name, uint32 GID, boolean SystemAccount, CIM_Group Group, CIM_Identity[] Identities)
Create a new group on the system
ValueMap Values 0 Operation completed successfully 1 Operation unsupported 2 Failed DMTF Reserved Parameters
- IN CIM_ComputerSystem System
- The scoping ComputerSystem in which to create the Account.
- IN
stringName- Desired group name for the account to be created.
- IN
uint32GID- Pick a specific group id for new user
- IN
booleanSystemAccount- True for creating system account
- OUT CIM_Group Group
- Reference to the instance of CIM_Group created when the method returns a value of 0.
- OUT CIM_Identity[] Identities
- Reference to the instances of CIM_Identity created when the method returns a value of 0. NULL if no such instances are created.
Inherited properties¶
uint16 RequestedStateuint16 HealthStatestring[] StatusDescriptionsstring InstanceIDuint16 CommunicationStatusstring SystemNamestring LoSIDstring Statusstring ElementNamestring Descriptionuint16 TransitioningToStateboolean Starteddatetime TimeOfLastStateChangeuint16 PrimaryStatusuint16 DetailedStatusstring Namedatetime InstallDateuint16 EnabledDefaultuint16 EnabledStatestring LoSOrgIDstring PrimaryOwnerContactstring Captionstring StartModeuint16[] AvailableRequestedStatesuint64 Generationstring OtherEnabledStateuint16[] OperationalStatusuint16 OperatingStatusstring SystemCreationClassNamestring CreationClassNamestring PrimaryOwnerName