ianmuir Posted April 20, 2011 Posted April 20, 2011 I have 2 users Bill and Paul. I don't want them to see each others records which I do through accounts and privileges. I am trying to write a script that checks the user name using the Get(UserName)and if say it is Paul sends him to Pauls layout. Any ideas?
Vaughan Posted April 20, 2011 Posted April 20, 2011 Don't use Get( UserName ). The user name can be changed in the application preferences so it is NOT secure, it's really only there for backwards compatibility with files created with FMP 6 and earlier. Instead use Get( AccountName ). But as Comment asks, why use separate layouts? Are you planning on making new layouts for EACH USER? That won't be fun.
Recommended Posts
This topic is 4966 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