Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Programmatically logout



Hi folks,

I'm looking for a way to perform a logout operation for the current user (or the frontmost user when Fast User Switching is enabled). I found an AE (kAEReallyLogOut) but it can be blocked by running applications. I guess I could walk through the PSNs and kill everyone, then send the AE, but it sounds like a less-than-perfect solution.

Is there any recommended way to force a user to log out?

Thanks in advance,
  E.H.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.