Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Check permissions when going to a layout??


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

Recommended Posts

Posted

Hi!

Im trying to make FM8 check if the logged in user have permission to go to the layout or not, if not then I whant them to get a message about that and then return to the layout they came from?

Any ideas how to do that?

Regards Jocke

Posted

You can go to Account Privileges and create a privilege set that does not allow users to certain layouts.

Posted

Take a look at the Get (LayoutAccess) function. It does exactly what you need.

Returns:

0 if the custom layout privileges of an account's privilege set allow no access to Records via this layout.

1 if the custom layout privileges of an account's privilege set allow view only access to Records via this layout.

2 if the custom layout privileges of an account's privilege set allow modifiable access to Records via this layout.

Have your script test for this and then branch accordingly.

Steven

Posted

You can go to Account Privileges and create a privilege set that does not allow users to certain layouts.

Correct; however what is being asked is--once created--how do you test for the state or the access rights of the layout.

HTH

Steven

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

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

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