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

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

Recommended Posts

Posted

Hi all,

This doesn't seem like the most difficult of problems - after all there is a simple script step to do it, but for some reason my script that looks like this at the beginning:

Enter Browse Mode []

If [Get ( PrivilegeSetName ) = "[Full Access]"

Show/Hide Status Area [show]

Else

Show/Hide Status Area [Lock; Hide]

End If

Refresh Window

simply does not do what I think it should. Everyone sees the status area, regardless of their privilege set. Can anyone think of a reason why this does not work?

I want to use IWP to publish the database, but this script does not do what it is supposed to do either on a server or run directly on a client.

Thanks in advance for any help,

Dave

Posted

Are you running this script with the checkbox in the lower corner checked (Run with Full Access)?

FM11 introduced Get ( AccountPrivilegeSetName) and that is what you should be using. It ignores the checkbox (which, when selected returns "Full Access" for the duration of the script) and allows you to check the login account's priv set.

Posted

Hi bcooney,

Thanks for the help. This has sorted me out. In fact, I am running FM 10 for development purposes on my laptop, but the server I host on is running FM 11. I have got round it by splitting the startup script into two, as the rest of the script required the "Run with full access". So now it runs the bit of the script I pasted earlier without full access privileges and then calls a second script which does use full access privileges. I could have used the alternative Get (AccountPrivilegeSetName) parameter, but then any development I do using FM 10 would not recognise it.

Thanks for the help,

Dave

  • 4 weeks later...
  • Newbies
Posted

Hi David

Can u explain me a little bit what to do?

I did the same script, but bar is still able to be opened for normal users( non full access)...i dont know how to proceed. I really appreciate your help.

Gabriel

Sorry, I forgot to say it is not working in IWP...clients are working perfect and bar is locked for non full access users, but IWP little bar is still able to be opened for them...

Gabriel

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