cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jayanmn
Level 3

InstallAnywhere 8.0.1 Enterprise: How to validate user has administrator rights

We use InstallAnywhere 8.0.1 Enterprise to create install kits. Some of the actions require administrator rights. How can we validate that the user installing the software has administrator rights?

Thanks,
Jayan
Labels (1)
0 Kudos
(4) Replies
pv7721
Level 20

There is a isCurrentUserAdmin() method in the IA API, check the JavaDoc.
0 Kudos
jayanmn
Level 3

Many thanks. I will try that.

Thanks
Jayan
0 Kudos
Yves_Kreis
Level 7

It will not work as expected on all OSes. Test it thoroughly!

Best Regards,
Yves
0 Kudos
pv7721
Level 20

AFAIK it is supposed to work on Windowses only.
0 Kudos