Re: How to find out the "current" user ?
From: Don Burn (burn_at_stopspam.acm.org)
Date: 06/21/05
- Next message: nmicheli: "group policy to PhysicalDrive set normal user rights"
- Previous message: Polaris: "Re: How to find out the "current" user ?"
- In reply to: Polaris: "How to find out the "current" user ?"
- Next in thread: Rodrigo Corral [MVP]: "Re: How to find out the "current" user ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 20 Jun 2005 20:44:58 -0400
How do you know there is one desktop? With Terminal server you can have
more than one desktop, and with XP SP2 and Windows Server 2003 you can have
a logged on user running console applications with EMS with no desktop.
-- Don Burn (MVP, Windows DDK) Windows 2k/XP/2k3 Filesystem and Driver Consulting Remove StopSpam from the email to reply "Polaris" <etpolaris@hotmail.com> wrote in message news:uHGl6zedFHA.2520@TK2MSFTNGP09.phx.gbl... > Hi: > I have a question on how to determine the "Currently" logged on user in > Win-XP). I can use NetWkstaUserEnum() to get a list of logged on users, > but how to determine which user is the one who currently own the active > desktop ? > > And one more, even after log off the machine, some times, an account > (domain\user) is still got returned by the NetWkstaUserEnum, why is that? > > > > Thanks in advance! > > Polaris > >
- Next message: nmicheli: "group policy to PhysicalDrive set normal user rights"
- Previous message: Polaris: "Re: How to find out the "current" user ?"
- In reply to: Polaris: "How to find out the "current" user ?"
- Next in thread: Rodrigo Corral [MVP]: "Re: How to find out the "current" user ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|