The Win32_GroupUser association WMI class relates a group and an account that is a member of that group.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties are listed in alphabetic order, not MOF order.
Syntax
[Dynamic, Provider("CIMWin32"), UUID("{8502C508-5FBB-11D2-AAC1-006008C78BC7}"), AMENDMENT]
class Win32_GroupUser : CIM_Component
{
Win32_Group REF GroupComponent;
Win32_Account REF PartComponent;
};
Members
The Win32_GroupUser class has these types of members:
Properties
The Win32_GroupUser class has these properties.
GroupComponent
Data type: Win32_Group
Access type: Read-only
Qualifiers: key, Override ("GroupComponent"), MappingStrings ("WMI|Win32_Group")
Reference to the instance representing the group of which the account is a member.
PartComponent
Data type: Win32_Account
Access type: Read-only
Qualifiers: key, Override ("PartComponent"), MappingStrings ("WMI|Win32_Account")
Reference to the instance representing the user or system account that is a part of a group of accounts.
Remarks
The Win32_GroupUser class is derived from CIM_Component.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista |
| Minimum supported server | Windows Server 2008 |
| Namespace | Root\CIMV2 |
| MOF | CIMWin32.mof |
| DLL | CIMWin32.dll |
See also
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
