osiris612mb Posted June 3, 2005 Posted June 3, 2005 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.
Brian C Posted June 6, 2005 Posted June 6, 2005 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
Oldsneekers Posted July 1, 2005 Posted July 1, 2005 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?)
osiris612mb Posted July 5, 2005 Author Posted July 5, 2005 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.
osiris612mb Posted August 17, 2005 Author Posted August 17, 2005 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...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now