Reference for Win32_NetworkLoginProfile
|
|
Category (Kategorie): Networking
Description (Beschreibung): The Win32_NetworkLoginProfile WMI class represents the network login information of a particular user on a Windows system. This includes, but is not limited to, password status, access privileges, disk quotas, and login directory paths.
Availability (Verfügbarkeit): WMI Class Name | Windows Server 2003 | Windows XP Professional | Windows 2000 | Windows NT 4.0 | Windows 98 | Win32_NetworkLoginProfile | Yes | Yes | Yes | Yes | Yes |
Sample Code (Beispiel):
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_NetworkLoginProfile")
For Each objItem in colItems
Wscript.Echo "Caption: " & objItem.Caption
Next
Links:
Link zur Original-Microsoft-Dokumentation
www.IT-Visions.de, (C) Dr. Holger Schwichtenberg
|