• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Fast User Switching in Panther...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Fast User Switching in Panther... (From: Dave Camp <email@hidden>)

  • Prev by Date: Re: NSImage -- getting raw bitmap data
  • Next by Date: Re: Corrupted NSMutableString
  • Previous by thread: App won't quit on logout
  • Next by thread: Re: Fast User Switching in Panther...
  • Index(es):
    • Date
    • Thread