How do I get the login name under Windows in a C++ program?
Use GetUserName() or GetUserNameEx(). See MSDN for more.
Thanks a lot!
Devshed is a Developer Shed Property, Owned by Jim Boykin, CEO of Internet Marketing Ninjas
Dev Shed Forums
© 2003 - 2016 by Devshed, LLC. All rights reserved