Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Login id of current user in windows2000/NT

Posted on 2004-11-03
3
Medium Priority
?
162 Views
Last Modified: 2013-11-20
How to Get the Login id of current user in windows2000/NT system using VC++ program

If possible give me a sample code.
regards,
krushnakumar
0
Comment
Question by:krush_ice
  • 2
3 Comments
 
LVL 23

Expert Comment

by:Roshan Davis
ID: 12481977
try GetUserName
~roshan
0
 
LVL 23

Accepted Solution

by:
Roshan Davis earned 375 total points
ID: 12481981
you can also try WNetGetUser()
~roshan
0
 

Author Comment

by:krush_ice
ID: 12511575
thank u roshan
i give u your points
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

572 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question