Windows NT Logon ID - VBScript

  • Thread starter Thread starter Josh
  • Start date Start date
J

Josh

I am trying to retrieve the Windows NT Logon ID value from
a given PC, using VBScript code within an Outlook form
(not from the Outlook user profile as
in "Application.GetNamespace("MAPI").CurrentUser" but
rather from the hard drive registry.

If anyone could help me get that information, it would be
greatly appreciated.

Thanks,
Josh
 
The WshNetwork class of IWshRuntimeLibrary (wshom.ocx) has UserDomain and
UserName properties you can get as string values.
 
Back
Top