Click here to Skip to main content
15,905,612 members
Articles / Programming Languages / Visual Basic

Retrieving Logged In User Name using a Windows Service

Rate me:
Please Sign up or sign in to vote.
2.94/5 (13 votes)
8 Jul 20052 min read 256.5K   37  
This is a small program which describes how can we retrieve the username of the currently logged in user without using the old API functions. This method uses WMI classes to retrieve this information.

Views

Daily Counts

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Pakistan Pakistan
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions