Displaying current username

jbober

New member
Is there a simple way to obtain the current logged-in username for display in CC2? I've looked through all of the parameters abailable in perfmon, for example, and getting at the current username eludes me.
Thanks,
Jim

P.S. The latest version of CC2 kicks @$$.
Looking for additional LCD resources? Check out our LCD blog for the latest developments in LCD technology.
 

jc634

Administrator
Use WMI Information:

- NameSpace: root\CIMV2
- Classes: Win32_ComputerSystem
- Instances: "your PC Name"
- Properties: UserName

The above looks like Greek, however, just use the stearage guide above. Should be self-evident once you find it.
 

jbober

New member
Hey, that was the ticket! I browsed WMI for about half an hour the other night, but missed this. Thanks for pointing out that it was right under my nose.
Jim
 
Top