Re: Fast User Switching in Panther...
Re: Fast User Switching in Panther...
- Subject: Re: Fast User Switching in Panther...
- From: Wade Tregaskis <email@hidden>
- Date: Sun, 3 Aug 2003 23:10:23 +1000
I'm not sure there is a concept of a "current user". Processes
typically run as the user that launched them, or run as a special user
if need. For example, there are processes on your machine running as
you, root, www (if you have web sharing on), etc. If someone logged in
via ssh, they would have processes running as their user as well.
It may or may not be useful for the original poster's application, but
it would probably be useful in general to know which users have an
active GUI. In normal cases this would be whoever owns the window
server, I presume - this works in Jaguar, at least. In other cases, a
user may [in future] have a remote GUI, ala X11 style..
Wade Tregaskis
-- Sed quis custodiet ipsos custodes?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.