Jump to content

Password: how to get it in FM


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

Recommended Posts

Dear members,

I'm in trouble with following:

a user logs in with a Password on the Database to define his access rights (USER, TEAMLEADER, ADMIN)

then he logs in with a user/pass combo in a password database

so far so good

now, depending on the kind of access he choose (for instance a teamleader can login as user) i want FileMaker Pro 6 to act arcondingly (for instance, a user sees his adresses, a teamleader sees the addresse of his team.

what would be the most elegant solution to this trouble?

best regards

Edited by Guest
Link to comment
Share on other sites

Create an onLoad script that will check the current username logged in, and direct them to the correct layout view.



If (Get(AccountName) = "user")

Go To Layout (user) 

Else If (Get(AccountName) = "teamleader")

Go To Layout (teamleader)

End If

Edited by Guest
Link to comment
Share on other sites

This topic is 6060 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.