April 20, 201114 yr 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?
April 20, 201114 yr 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.
Create an account or sign in to comment