Expand Minimize
1 out of 3 rated this helpful - Rate this topic

Win32_GroupUser class

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;
};

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

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 [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Namespace

\root\CIMV2

MOF

Cimwin32.mof

DLL

Cimwin32.dll

See also

Operating System Classes

 

 

Send comments about this topic to Microsoft

Build date: 11/19/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.