Jump to content

Get(UserName)


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

Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This topic is 4311 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
 Share

×
×
  • Create New...

Important Information

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