MrSpacely Posted November 24, 2005 Share Posted November 24, 2005 I want to create a tool wich can run programs as admin and so make the user run as non administrator. Not much trouble with run as feature. But I want ot make the program adjustable for admin so they can login and change wich programs are allowed to be run as admin (certain programs refuse to work without administrator login). I also wanted the admin to be able to choose the user or group from wich to choose wich he or she change setting to. So that you have differend menus per user. But I cannot find how to get the user list grouplist or if a user is member of a group. One macro allready says wich username is loggedin but I still need what group he or she is member of. And if the admin is logged in to the program I also need the grouplist en userlist. Does anyone know how to get this information from the windows user database? Using a DLL or some command? Link to comment Share on other sites More sharing options...
nobby Posted November 25, 2005 Share Posted November 25, 2005 You could use "Ifmember.exe" which returns the group membership. CheersNobby Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now