Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7037 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

i am going to have two UI's for users at my firm, I would prefer to have one "file" that they log-into and from their account name and pw, they are directed towards the correct file. Can this be done easily?

I want this, becase I don't want some users knowing that there is other files out there that they can't access.

Like the accounting department logs into their file and assistants log into another file.

I have learned that is the worst thing, to let others know they can't access certain data.

Posted

Create 2 different privilage sets for the 2 types of users so that they can be identified by their privilage set instead of their account name.

When a user logs in, in a script, use:

IF [Get ( PrivilageSetName ) = "Accounting"]

OpenFile[]

ELSE

OpenFile[]

END IF

  • 4 weeks later...
Posted

Re: "I don't want some users knowing that there is other files out there that they can't access."

If the other files are set to be hidden, opens (and stays) on a "No access" layout and the Menu bar is disabled either through FM privilege settings or through the plug in that formats the menu bar to the developer's preferences (I can't remember the plug in name but it's here on the forum somewhere.) why care if the users know about another file.

My data files have a layout with the words no access and layout sized into a size about 1 x 2 inches. If somehow the user access the file they only see the small no access window. If they click into it, the layout is scripted to hide window. Status area is kept locked. Thus the user has access only to the UI file.

Me thinks, one UI file is already a mindfull, let alone two.

(Osiris - is that a Goauld system lord?)

Posted

osiris is the egyptian god of death...

and i ended up going back to one file just different menu screens for the users to use. a script determines which menu screen they see and from there leads them to the specific layouts they can access...took alittle extra layout design time and scripting but all good now.

  • 1 month later...
Posted

Ok this all works but I now have a file reference that also has access priviledges.... is there a way to script it so that once they login, it will automatically log them into the other file???

I thought I once saw this, but can't seem to find it...

This topic is 7037 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.