.. _LMI-Account: LMI_Account ----------- Class reference =============== Subclass of :ref:`CIM_Account ` Class representing Linux Account Key properties ^^^^^^^^^^^^^^ | :ref:`SystemName ` | :ref:`Name ` | :ref:`CreationClassName ` | :ref:`SystemCreationClassName ` Local properties ^^^^^^^^^^^^^^^^ .. _LMI-Account-HomeDirectory: ``string`` **HomeDirectory** User's home directory .. _LMI-Account-AccountExpiration: ``datetime`` **AccountExpiration** The date of expiration of the account. .. _LMI-Account-PasswordLastChange: ``datetime`` **PasswordLastChange** The date when was password last changed .. _LMI-Account-LoginShell: ``string`` **LoginShell** User's login shell .. _LMI-Account-PasswordPossibleChange: ``datetime`` **PasswordPossibleChange** Minimum number of days between password change .. _LMI-Account-PasswordExpirationWarning: ``datetime`` **PasswordExpirationWarning** Number of days of warning before password expires .. _LMI-Account-PasswordInactivation: ``datetime`` **PasswordInactivation** Maximum number of days between password change Local methods ^^^^^^^^^^^^^ .. _LMI-Account-DeleteUser: ``uint32`` **DeleteUser** (``boolean`` DontDeleteHomeDirectory, ``boolean`` DontDeleteGroup, ``boolean`` Force) Delete the user. Along with the user, the home directory and user's primary group are deleted. If the user is not owner of the home directory it is not deleted. However this directory can be deleted if force parameter is set to True. ======== ======================================================= ValueMap Values ======== ======================================================= 0 Operation completed successfully 1 Failed .. DMTF Reserved 4096 Non existing user 4097 Unable to delete Home Direcotry 4098 Unable to remove user, home directory removed 4099 Unable to remove group, user and home directory removed ======== ======================================================= **Parameters** *IN* ``boolean`` **DontDeleteHomeDirectory** By default the user's home directory is deleted. Set to true to not delete the home directory. *IN* ``boolean`` **DontDeleteGroup** By default the user's private group, if the user has one, is deleted. Set to true to not delete the group. *IN* ``boolean`` **Force** Force the deletion of user's home directory, even if the user is not an owner. Inherited properties ^^^^^^^^^^^^^^^^^^^^ | ``uint16`` :ref:`PrimaryStatus ` | ``uint16`` :ref:`RequestedState ` | ``uint16`` :ref:`HealthState ` | ``string[]`` :ref:`OrganizationName ` | ``string[]`` :ref:`StatusDescriptions ` | ``string`` :ref:`InstanceID ` | ``string`` :ref:`UserID ` | ``uint16`` :ref:`MaximumSuccessiveLoginFailures ` | ``uint16`` :ref:`CommunicationStatus ` | ``datetime`` :ref:`InactivityTimeout ` | ``string`` :ref:`SystemName ` | ``datetime`` :ref:`TimeOfLastStateChange ` | ``datetime`` :ref:`LastLogin ` | ``uint16`` :ref:`UserPasswordEncryptionAlgorithm ` | ``string[]`` :ref:`SeeAlso ` | ``string`` :ref:`Status ` | ``string`` :ref:`ElementName ` | ``string`` :ref:`Description ` | ``uint16`` :ref:`TransitioningToState ` | ``string[]`` :ref:`ObjectClass ` | ``uint16[]`` :ref:`ComplexPasswordRulesEnforced ` | ``uint16[]`` :ref:`AvailableRequestedStates ` | ``string[]`` :ref:`Host ` | ``string[]`` :ref:`LocalityName ` | ``uint16`` :ref:`EnabledState ` | ``uint16`` :ref:`DetailedStatus ` | ``string`` :ref:`Name ` | ``datetime`` :ref:`InstallDate ` | ``uint16`` :ref:`EnabledDefault ` | ``string[]`` :ref:`UserCertificate ` | ``string[]`` :ref:`UserPassword ` | ``string`` :ref:`Caption ` | ``uint32`` :ref:`UserPasswordEncoding ` | ``string`` :ref:`OtherUserPasswordEncryptionAlgorithm ` | ``string`` :ref:`CreationClassName ` | ``string[]`` :ref:`OU ` | ``datetime`` :ref:`PasswordExpiration ` | ``uint64`` :ref:`Generation ` | ``string`` :ref:`OtherEnabledState ` | ``uint16[]`` :ref:`OperationalStatus ` | ``uint16`` :ref:`OperatingStatus ` | ``string[]`` :ref:`Descriptions ` | ``uint16`` :ref:`PasswordHistoryDepth ` | ``string`` :ref:`SystemCreationClassName ` Inherited methods ^^^^^^^^^^^^^^^^^ | :ref:`RequestStateChange `