This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: InstallAnywhere 8.0.1 Enterprise: How to validate user has administrator rights
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 26, 2009
11:56 PM
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
Thanks,
Jayan
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 27, 2009
01:03 AM
There is a isCurrentUserAdmin() method in the IA API, check the JavaDoc.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 27, 2009
07:59 AM
Many thanks. I will try that.
Thanks
Jayan
Thanks
Jayan
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 26, 2009
07:12 PM
It will not work as expected on all OSes. Test it thoroughly!
Best Regards,
Yves
Best Regards,
Yves
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 27, 2009
01:13 AM
AFAIK it is supposed to work on Windowses only.
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)