Different application sets for different users

Author: tomas.hogvag@abilita.fi (thogvag)

Hi, We have an Anywhere server where we need to deploy applications for two different organizations. In this case each organization will have its own username ie. org1, org2. We want to publish the applications so that when org1 logs in to Anywhere he does not see the applications that belong to org2 and vice versa. What would be the best way to accomplish this? best regards, Tomas

4 Comments

  1. The canonical way is user permissions on the executable.  This generally (for us) involves making copies of the executable so that the different user groups can be given different permissions.  (You can do it with batch files, but you get the whole small black screen popup nastiness...) As far as I can work out, there is no way of assigning user permissions to the applications within Anywhere itself. 


    Author: Iain Sharp (i.sharp@pcisystems.co.uk)
  2. Thanks Iain, This is what I expected somewhat after reading the documentation. To be clear; do you have one uniface installation on the server and rename the uniface.exe file i.e uniface1.exe, uniface2.exe and so on ... and give different user permissions on the exe-files? Maybe it would be feasible to have an uniface installation under each user profile (i.e c:\users\org1\uniface) to get the right permissions automatically. It would, of course, take more disk space you would not have to worry about fiddling with permissions. best regards Tomas


    Author: thogvag (tomas.hogvag@abilita.fi)
  3. You need two copies of the exe file (for clarity we'd probably leave uniface.exe alone and copy it to uniface_grp1.exe and uniface_grp2.exe). As it happens we have a 'pre-loader' exe file to allow us to update client uar and asn files from a central location before running uniface, so that's the one we'd make a copy of. These need to be 'system' wide, not user based, as you need to reference them in the Application setup of the Anywhere cluster manager. These are then only given (execute?) permission to the relevant group of users. That way one cluster manager shows or hides the relevant applications.  When we used to use batch files to start the environments, we needed to have multiple copies of cmd.exe to do this. 


    Author: Iain Sharp (i.sharp@pcisystems.co.uk)
  4. Thanks again, As a wish to Uniface for future versions of Anywhere; It would be nice to be able to assign certain applications or application sets to certain users/groups directly in the cluster manager. Tomas


    Author: thogvag (tomas.hogvag@abilita.fi)