[Feature Request] If DEPNotify runs as root have Logout: do a killall loginwindow

For Scenarios where DEPNotify is run by a root script, for example by InstallApplications it would be helpful if Command: Logout: would not use an Apple Event to log the User out, but just killed the loginwindow process.

Maybe DEPNotify could just check in which context it runs, and if it runs as root Logout, and LogoutNow could just Logout. If you want the User to accept the Logout you can Use Logout: and if not you can use LogoutNow but having the User click "Logout" Twice is kinda strange.

If DEPNotify runs as a standard user it should just behave like it does now.

Edited by soberhofer