Partager via


Win32_UserInDomain class

The Win32_UserInDomain association WMI class relates a user account and a Windows domain.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties and methods are in alphabetic order, not MOF order.

Syntax

[Dynamic, Provider("CIMWin32a"), UUID("B38813CF-0673-495C-A12F-384D47BDF1ED"), AMENDMENT]
class Win32_UserInDomain : CIM_Component
{
  Win32_NTDomain    REF GroupComponent;
  Win32_UserAccount REF PartComponent;
};

Members

The Win32_UserInDomain class has these types of members:

Properties

The Win32_UserInDomain class has these properties.

GroupComponent

Data type: Win32_NTDomain

Access type: Read-only

Qualifiers: Override (GroupComponent), key, MappingStrings ("WMI|Win32_NTDomain")

Reference to the instance that represents the domain in which the user accounts exist. This property is inherited from CIM_Component.

PartComponent

Data type: Win32_UserAccount

Access type: Read-only

Qualifiers: Override (PartComponent), key, MappingStrings ("WMI|Win32_UserAccount")

Reference to the instance that represents the user accounts that exist in the domain. This property is inherited from CIM_Component.

Remarks

The Win32_UserInDomain class is derived from CIM_Component.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
Root\CIMV2
MOF
Wmipcima.mof
DLL
Wmipcima.dll

See also

CIM_Component

Operating System Classes