[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]] ==== Create_User programmatically (OpenInsight Specific) ==== === At 03 JUL 1998 02:18:54PM Jim Wheeler Aldata wrote: === {{tag>"OpenInsight Specific"}} 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 [url=http://www.sprezzatura.com]Sprezzatura Ltd[/url] [i]World Leaders in all things RevSoft[/i] [img]http://www.sprezzatura.com/zz.gif[/img] ---- === 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. [[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=2C60E115056555438525663600649B8E|View this thread on the forum...]]