I'm trying to create a class for a non-web application that finds out if the user currently logged in the workstation is the administrator or has administrator privileges. What is the best way of doing this?
Created May 7, 2012
Eugene Kuleshov Use JAAS. It has the authentication module for Windows.