AnsweredAssumed Answered

How to assign a privilege set in the Add Account script step ?

Question asked by Twistan on Jan 10, 2012
Latest reply on Jan 11, 2012 by Twistan

Title

How to assign a privilege set in the Add Account script step ?

Post

Hello,

I am not a professional developer, just an occasional user, but with a strong mathematical and scientific background.

I am developing a stand-alone database (FM 11 Pro Adv) and I could not find an answer how to assign a custom privilege set when running the script "Add Account".

I have assigned a script to a button that queries the user for a new account name and a password. If the user has only [Data Entry Only] privileges the request is declined, if he has [Full Access]  or a special custom privilege the account will be created.

However, the new account is being created with [Data Entry Only] privileges and even if the user has [Full Access] I do not see a way how to assign custom privileges.

I have read that one solution would be to change and assign the custom privilege in a second script step.

Are there other ways to do that ?

Thank you all for sharing your knowledge.

Twistan

Outcomes