Win32_TokenGroups class
The Win32_TokenGroups abstract WMI class represents information about the group security identifiers (SIDs) in an access token.
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
class Win32_TokenGroups
{
Win32_SIDandAttributes Groups[];
uint32 GroupCount;
};
Members
The Win32_TokenGroups class has these types of members:
Properties
The Win32_TokenGroups class has these properties.
- GroupCount
-
- Data type: uint32
- Access type: Read-only
Number of groups in the access token.
- Groups
-
- Data type: Win32_SIDandAttributes array
- Access type: Read-only
Each array element references a an SID and an attribute.
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 XP [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 [desktop apps only] |
|
Namespace |
\root\CIMV2 |
|
MOF |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 11/19/2012