How to get the Windows user and group names.

  • Thread starter Thread starter Guest
  • Start date Start date
I believe using WMI and the WqlObjectQuery stuff you can get it using
Win32_Group and Win32_UserAccount, but I haven't tried. That's where I'd
start, though.
 
Use the static class

Environment.UserName;
Environment.UserDomainName;
and
SystemInformation...

MajorTom
 
You're making it too easy for him ;-)

Pete

MajorTom said:
Use the static class

Environment.UserName;
Environment.UserDomainName;
and
SystemInformation...

MajorTom
 
Back
Top