PDA

View Full Version : How to check if a user has admin rights


dhesmer
17th July 2008, 14:36
I want to check before the Directory_Page_Setting if the user has admin rights or not. Depending on the result, I would put as target drive for admins "C:\Program Folder\MyApp" and for normal users "C:\MyApp" to the screen.
How I can find out, if the user has admin rights?

Thanks for your help
regards
Diedrich

Anders
17th July 2008, 19:19
the userinfo plugin