Mailing Lists: Apple Mailing Lists

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

Re: Programmatically logout





on 1/26/05 6:46 AM, Etienne Henri wrote:

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

What are you trying to accomplish? Do you want to secure the machine, like
picking Login Window... from the fast user switching menu? Or do you really
want all the user's applications to die, potentially losing unsaved work?
Or is it something else?

Actually, I'm writing a computer usage monitoring tool.
After a specified amount of time, the user should not use the computer anymore. The idea was to send a warning to the user one minute before the session is closed, then close it.
The user should not be able to cancel the operation, that's why data loss is not really a issue here.



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
References: 
 >Re: Programmatically logout (From: Marc Epard <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.