How do I verify who is logged in. I don't want my app to be used by the "user" group only administrators or power users.
Any code would be much appreciated.
The idea is to have no logon screens, I want the app to detect and then startup if the user is an administrator or power user, or return an error saying please login as administrator/power user.

Thanks, James