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
- :
- How can I check what access authorisation has the user
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
‎Apr 25, 2008
03:56 AM
How can I check what access authorisation has the user
Hallo,
how can I check whether the user who installs my IA - Project has enough access authorisation?
Thanks for any help,
Anna
how can I check whether the user who installs my IA - Project has enough access authorisation?
Thanks for any help,
Anna
(9) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 25, 2008
04:36 AM
Check the API documentation, you've got this method:
isCurrentUserAdmin
public boolean isCurrentUserAdmin()
throws ServiceException
This method is useful to developers when creating a custom bean. Checks if the current user has admin privileges.
Returns:
"True" if the user is "admin" ("root" in UNIX).
Throws:
ServiceException
(it's in the com.installshield.wizard.service.security package).
isCurrentUserAdmin
public boolean isCurrentUserAdmin()
throws ServiceException
This method is useful to developers when creating a custom bean. Checks if the current user has admin privileges.
Returns:
"True" if the user is "admin" ("root" in UNIX).
Throws:
ServiceException
(it's in the com.installshield.wizard.service.security package).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 25, 2008
08:13 AM
Sorry, I'm new here, the IA7.3 didn't have installshield package. Can you tell me, where can I have some examples to this thema. All could I find were the references to InstallShield and nothing to IA.
Thank you.
Anna
Thank you.
Anna
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 25, 2008
08:41 AM
I'm afraid you need to upgrade to at least version 8 in order to be able to use these APIs. In version 8 they've started to integrate InstallShield APIs into InstallAnywhere. As you've posted in the InstallAnywhere 2008 Value Pack 1 specific forum, I automatically assumed that this is the version you have. The correct forum in which you should have posted is this one: http://community.macrovision.com/forumdisplay.php?f=244 (InstallAnywhere - Versions prior to 2008)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 25, 2008
09:10 AM
Sorry, I didn't finished. I'm avaluating the upgrade to IA2008 Pack1 now. That's why a'm new here
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 25, 2008
09:13 AM
Then I guess there won't be any problem there, as this version contains the APIs I was mentioning in my initial post. So basically you can achieve what you want easily with this new version, so this might be an incentive to upgrade.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 25, 2008
09:26 AM
For that specific case, please see this newsletter tip (PDF warning): http://www.acresso.com/webdocuments/PDF/ia_adminprivileges.pdf.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 25, 2008
09:56 AM
The IAClasses.zip I've got with the evaluation License doesn't have package security with the class SecurityService. The the package com.installsheild.wizard.service contains only the class ServiceException. Do I have to download any special data?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 25, 2008
10:00 AM
I think you'll need ...IA/resource/services/services.jar, too.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 25, 2008
10:03 AM
Thank you!!! I've got it