Create_User programmatically (OpenInsight Specific)
At 03 JUL 1998 02:18:54PM Jim Wheeler Aldata wrote:
I would like to create/delete a user and set the access level and password within my own code.
The CREATE_USER & DELETE_USER sub-routines are command line only.
Does anybody know a way around this.
At 03 JUL 1998 03:18PM Carl Pates wrote:
Jim,
Have you tried them in code? Don't be fooled by the symbol in the on-line help which is incorrect…
eg..
Call Set_status( 0 )
Call Create_User( "SOMEGUY", "BOO", 1, TRUE$ )
If Get_Status( ErrorCode ) Then
End Else
etc….
It works fine for me. Ditto for Delete_User.
cpates@sprezzatura.com
World Leaders in all things RevSoft
At 04 JUL 1998 05:37PM Cameron Revelation wrote:
Carl,
It isn't so much that they are "command line only" as it is that those commands are designed to be used on the command line or via REVCAPI. The main impact is if they return results via SEND_DYN, e.g. List_Users.
Cameron Purdy
Revelation Software
At 12 JUL 1998 03:14PM Jim Wheeler(Aldata) wrote:
Don't be fooled by what's in the on-line help?
I don't know whether to laugh or cry!
Maybe I should go back to driving a truck for a living.
Anyway, thanks for the help.