Need a sanity check here pls. I am trying to use function "a5_add_new_user()" but having issues. I get a "ERROR: Argument is incorrect data type" when I try this in both a grid function and the interactive window.
I have deleted all the security tables and security settings files a couple of times JIC and re-enabled web security in a5 after the delete. I have turned off the user ID validation and set the password min. length to 1, etc. I put a master password on the database per the documentation.
I am able to create users fine using the web security dialog - but I need to be able to do it in code.
Here's a sample of the code for the interactive window (based on wiki example plus I added alltrim() based on some posts about extra spaces causing issues):
? a5_add_new_user(alltrim("password"),alltrim("user1"),alltrim("password1"))
In the code completion, the "Groups" list shows as an optional parameter. On the wiki, it's not an optional parameter. Any which way, it's not working.
Heeelllppp...
Bookmarks