.. _LMI-RealmdService: LMI_RealmdService ----------------- Class reference =============== Subclass of :ref:`CIM_Service ` Access to the Realmd Service. Realmd is used to discover realms available for joining as well as providing a mechanism for joining and leaving a realm. Key properties ^^^^^^^^^^^^^^ | :ref:`Name ` | :ref:`SystemName ` | :ref:`SystemCreationClassName ` | :ref:`CreationClassName ` Local properties ^^^^^^^^^^^^^^^^ .. _LMI-RealmdService-Domain: ``string`` **Domain** The name of the domain that this computer is a member of or NULL if not a member of any domain. Local methods ^^^^^^^^^^^^^ .. _LMI-RealmdService-LeaveDomain: ``uint32`` **LeaveDomain** (``string`` Domain, ``string`` User, ``string`` Password, ``string[]`` OptionNames, ``string[]`` OptionValues) Make the computer leave its joined domain. **Parameters** *IN* ``string`` **Domain** The name of the domain to join. *IN* ``string`` **User** The administrative user who is authorizing joining the domain. Or NULL for a one time password based join. *IN* ``string`` **Password** Either NULL for an automatic join, a one time password, or the password for the administrative user in the User parameter. *IN* ``string[]`` **OptionNames** This array is correlated with the OptionValues array. Each entry is related to the entries in the other array located at the same index. In this way a (name,value) tuple can be constructed. *IN* ``string[]`` **OptionValues** This array is correlated with the OptionNames array. Each entry is related to the entries in the other array located at the same index. In this way a (name,value) tuple can be constructed. .. _LMI-RealmdService-JoinDomain: ``uint32`` **JoinDomain** (``string`` Domain, ``string`` User, ``string`` Password, ``string[]`` OptionNames, ``string[]`` OptionValues) Join the computer to a domain. **Parameters** *IN* ``string`` **Domain** The name of the domain to join. *IN* ``string`` **User** The administrative user who is authorizing joining the domain. Or NULL for a one time password based join. *IN* ``string`` **Password** Either NULL for an automatic join, a one time password, or the password for the administrative user in the User parameter. *IN* ``string[]`` **OptionNames** This array is correlated with the OptionValues array. Each entry is related to the entries in the other array located at the same index. In this way a (name,value) tuple can be constructed. *IN* ``string[]`` **OptionValues** This array is correlated with the OptionNames array. Each entry is related to the entries in the other array located at the same index. In this way a (name,value) tuple can be constructed. Inherited properties ^^^^^^^^^^^^^^^^^^^^ | ``uint16`` :ref:`RequestedState ` | ``uint16`` :ref:`HealthState ` | ``string[]`` :ref:`StatusDescriptions ` | ``string`` :ref:`InstanceID ` | ``uint16`` :ref:`CommunicationStatus ` | ``string`` :ref:`SystemName ` | ``string`` :ref:`LoSID ` | ``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:`LoSOrgID ` | ``string`` :ref:`PrimaryOwnerContact ` | ``string`` :ref:`Caption ` | ``string`` :ref:`StartMode ` | ``uint16[]`` :ref:`AvailableRequestedStates ` | ``uint64`` :ref:`Generation ` | ``string`` :ref:`OtherEnabledState ` | ``uint16[]`` :ref:`OperationalStatus ` | ``uint16`` :ref:`OperatingStatus ` | ``string`` :ref:`SystemCreationClassName ` | ``string`` :ref:`CreationClassName ` | ``string`` :ref:`PrimaryOwnerName ` Inherited methods ^^^^^^^^^^^^^^^^^ | :ref:`RequestStateChange ` | :ref:`StopService ` | :ref:`ChangeAffectedElementsAssignedSequence ` | :ref:`StartService `