Re: How to find out the "current" user ?

From: Don Burn (burn_at_stopspam.acm.org)
Date: 06/21/05


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
>
> 


Relevant Pages

  • Re: Multi-user access of an Embedded Windows System ?
    ... First off, EWF is available ... > only for Windows XP Embedded, and is not intended to be used with XP Pro or ... > install, and in this case it sounds like the system would be best suited ... it looks to me like what you're referring to is the Terminal Server ...
    (microsoft.public.windowsxp.embedded)
  • Re: Event ID 1000 (Userenv)
    ... Maybe it's time to install those 2 hotfixes that I mentioned in my ... MCSE, CCEA, Microsoft MVP - Terminal Server ... it takes longer that their profile is loaded. ... Windows 2000 SP4: ...
    (microsoft.public.win2000.termserv.apps)
  • Re: Newbie Setup Question
    ... Microsoft MVP - Terminal Server ... RDP Client to connect to the TS of your choice. ... Windows 2003 Server running as a Terminal server. ... login an go directly to the TS without the user manually launching RDP ...
    (microsoft.public.windows.terminal_services)
  • Re: Terminal Server 32bit /PAE vs 64bit
    ... 935649 - Error message when you try to log on to a Windows Server ... MCSE, CCEA, Microsoft MVP - Terminal Server ... memory and that our applications are actually addressing it ... I have seen thru the task manager performance tab our dl380 ...
    (microsoft.public.windows.terminal_services)
  • Re: Application popup: termsrv.exe - Application Error
    ... Seems that your Terminal Server lost contact with your Domain ... > No Windows NT or Windows 2000 Domain Controller is available for ... > The timeout waiting for the performance data collection function ...
    (microsoft.public.win2000.termserv.apps)