.. _LMI-AccountManagementService: LMI_AccountManagementService ---------------------------- Class reference =============== Subclass of :ref:`CIM_SecurityService ` LMI_AccountManagementService creates, manages, and if necessary destroys Linux Accounts on behalf of other SecurityServices. Key properties ^^^^^^^^^^^^^^ | :ref:`Name ` | :ref:`SystemName ` | :ref:`SystemCreationClassName ` | :ref:`CreationClassName ` Local properties ^^^^^^^^^^^^^^^^ *None* Local methods ^^^^^^^^^^^^^ .. _LMI-AccountManagementService-CreateAccount: ``uint32`` **CreateAccount** (:ref:`CIM_ComputerSystem ` System, ``string`` Name, ``string`` GECOS, ``string`` HomeDirectory, ``boolean`` DontCreateHome, ``string`` Shell, ``uint32`` UID, ``uint32`` GID, ``boolean`` SystemAccount, ``string`` Password, ``boolean`` DontCreateGroup, :ref:`CIM_Account ` Account, :ref:`CIM_Identity[] ` Identities) Create a new account on the system **Parameters** *IN* :ref:`CIM_ComputerSystem ` **System** The scoping ComputerSystem in which to create the Account. *IN* ``string`` **Name** Desired user login name for the account to be created. *IN* ``string`` **GECOS** GECOS information for new user *IN* ``string`` **HomeDirectory** Set home directory for the user. *IN* ``boolean`` **DontCreateHome** Wheter to create home directory. *IN* ``string`` **Shell** Default shell for new user *IN* ``uint32`` **UID** Pick a specific user id for new user *IN* ``uint32`` **GID** Pick a specific group id for new user *IN* ``boolean`` **SystemAccount** True for creating system account *IN* ``string`` **Password** Encryted password for new user *IN* ``boolean`` **DontCreateGroup** Whether to create group *OUT* :ref:`CIM_Account ` **Account** Reference to the instance of CIM_Account created when the method returns a value of 0. *OUT* :ref:`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. .. _LMI-AccountManagementService-CreateGroup: ``uint32`` **CreateGroup** (:ref:`CIM_ComputerSystem ` System, ``string`` Name, ``uint32`` GID, ``boolean`` SystemAccount, :ref:`CIM_Group ` Group, :ref:`CIM_Identity[] ` Identities) Create a new group on the system **Parameters** *IN* :ref:`CIM_ComputerSystem ` **System** The scoping ComputerSystem in which to create the Account. *IN* ``string`` **Name** Desired group name for the account to be created. *IN* ``uint32`` **GID** Pick a specific group id for new user *IN* ``boolean`` **SystemAccount** True for creating system account *OUT* :ref:`CIM_Group ` **Group** Reference to the instance of CIM_Group created when the method returns a value of 0. *OUT* :ref:`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`` :ref:`RequestedState ` | ``uint16`` :ref:`HealthState ` | ``string`` :ref:`SystemCreationClassName ` | ``string`` :ref:`InstanceID ` | ``uint16`` :ref:`CommunicationStatus ` | ``string`` :ref:`SystemName ` | ``string[]`` :ref:`StatusDescriptions ` | ``string`` :ref:`Status ` | ``string`` :ref:`ElementName ` | ``string`` :ref:`Description ` | ``uint16`` :ref:`TransitioningToState ` | ``boolean`` :ref:`Started ` | ``datetime`` :ref:`TimeOfLastStateChange ` | ``uint16`` :ref:`PrimaryStatus ` | ``uint16`` :ref:`DetailedStatus ` | ``string`` :ref:`Name ` | ``datetime`` :ref:`InstallDate ` | ``uint16`` :ref:`EnabledDefault ` | ``uint16`` :ref:`EnabledState ` | ``string`` :ref:`Caption ` | ``string`` :ref:`StartMode ` | ``uint16[]`` :ref:`AvailableRequestedStates ` | ``uint64`` :ref:`Generation ` | ``string`` :ref:`OtherEnabledState ` | ``uint16[]`` :ref:`OperationalStatus ` | ``uint16`` :ref:`OperatingStatus ` | ``string`` :ref:`PrimaryOwnerContact ` | ``string`` :ref:`CreationClassName ` | ``string`` :ref:`PrimaryOwnerName ` Inherited methods ^^^^^^^^^^^^^^^^^ | :ref:`RequestStateChange ` | :ref:`StopService ` | :ref:`ChangeAffectedElementsAssignedSequence ` | :ref:`StartService `