|
|
#1 |
|
Junior Member
Join Date: Feb 2008
Location: Germany
Posts: 12
|
How to check if a user has admin rights
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 |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 2,781
|
the userinfo plugin
IntOp $PostCount $PostCount + 1 |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|