Reference for Win32_Group
(Diese Seite wurde noch nicht auf das neue Layout umgestellt!)

Select by Class Type Search by Keyword
Show all classes

Category (Kategorie):

Accounts and Domains

Description (Beschreibung):

The Win32_Group WMI class represents data about a group account. A group account allows access privileges to be changed for a list of users. Example: Marketing2.

Availability (Verfügbarkeit):

WMI Class NameWindows Server 2003Windows XP ProfessionalWindows 2000Windows NT 4.0Windows 98
Win32_GroupYesYesYesYesYes

Properties (Attribute):

ItemServer 2003XP ProWindows 2000NT 4.0Windows 98
CaptionYesYesYesYesYes
DescriptionYesYesYesYesYes
DomainYesYesYesYesYes
InstallDateYesYesYesYesYes
LocalAccountYesYes---
NameYesYesYesYesYes
SIDYesYesYesYesYes
SIDTypeYesYesYesYesYes
StatusYesYesYesYesYes

Methods (Methoden):

ItemServer 2003XP ProWindows 2000NT 4.0Windows 98
RenameYesYes---

Sample Code (Beispiel):

strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_Group")
For Each objItem in colItems
    Wscript.Echo "Caption: " & objItem.Caption
Next

Links:

Link zur Original-Microsoft-Dokumentation