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
class Win32_GroupUser : CIM_Component
{
Win32_Group REF GroupComponent;
Win32_Account REF PartComponent;
};
Methods
The Win32_GroupUser class does not define any methods.
Properties
The Win32_GroupUser class defines the following properties.
- GroupComponent
-
- Data type: Win32_Group
- Access type: Read-only
- Qualifiers: Key
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
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.
Examples
For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.
For C++ code examples, see WMI C++ Application Examples.
Requirements
| Minimum supported client | Windows 2000 Professional |
| Minimum supported server | Windows 2000 Server |
| MOF | Cimwin32.mof |
| DLL | Cimwin32.dll |
| Namespace | \root\cimv2 |
See Also
- Operating System Classes
Send comments about this topic to Microsoft
Build date: 11/3/2009