WinNTSystemInfo

   

WinNTSystemInfo

To use the WinNTSystemInfo interface from a Windows 2000 client, use the following Visual Basic code as a guide:

 Dim WinNTSysInfo as WinNTSystemInfo Set WinNTSysInfo = New WinNTSystemInfo Debug.Print WinNTSysInfo.ComputerName Debug.Print WinNTSysInfo.DomainName Debug.Print WinNTSysInfo.PDC Debug.Print WinNTSysInfo.UserName 

WinNTSystemInfo::ComputerName

Description Returns the name of the client computer
Provider Support Windows 2000 clients only
Data Type String
Read-Only? Yes

WinNTSystemInfo::DomainName

Description Returns the current domain of the client computer
Provider Support Windows 2000 clients only
Data Type String
Read-Only? Yes

WinNTSystemInfo::PDC

Description Returns the name of the PDC or PDC emulator associated with the client machine domain
Provider Support Windows 2000 clients only
Data Type String
Read-Only? Yes

WinNTSystemInfo::UserName

Description Returns the username logged into the client machine
Provider Support Windows 2000 clients only
Data Type String
Read-Only? Yes

   
Top


Windows NT. 2000 ADSI Scripting for System Administration
Windows NT/2000 ADSI Scripting for System Administration
ISBN: 1578702194
EAN: 2147483647
Year: 2000
Pages: 194
Authors: Thomas Eck

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net