Returning List_Users data to a variable. (OpenInsight Specific)
At 30 JUN 1998 10:22:59AM Steve C. wrote:
I would like to use List_Users SSP, or something else
if its available, to return a list of Database Users
to a variable in Basic+. How would I do this.
.
Variable=…List_Users("Appname")
.
.
Thanks..
Steve C.
At 30 JUN 1998 11:00AM DSig (SigSolutions) wrote:
Steve ..
To get information on an app try GET_APP_INFO("appname")
To get a list of users from an app try Get_DB_USERS("appname")
declare function get_app_info
declare Function get_db_users
AppInfo=get_app_info("SYSPROG")
UserList=get_db_users("SYSPROG")
Hope this helps ..
dsig
David Tod Sigafoos ~ SigSolutions
dsig@teleport.com cis:70302,77 voice:503-639-8080
At 30 JUN 1998 11:04AM Andrew P McAuley wrote:
I was about to quote from the forthcoming REVMEDIA FKB For OI re: Function Get_DB_Users when I noticed it was actually docced on line as follows
Description Returns an @fm delimited list of users in the specified application.
Syntax users=Get_DB_Users(ApplicationName)
amcauley@sprezzatura.com
World Leaders in all things RevSoft
At 30 JUN 1998 11:24AM Steve C. wrote:
Thanks Andrew and David,
I appreciate people like ya'll out there,Cameron too,
and everyone else that are more familiar with all the
functions and keep up to date on changes to OI.
It sure helps to improve my productivity. I tried finding
something in all my manuals under "USERs" and did
searches in the OI help files using "USERs" but never did
find Get_DB_Users. Thanks again.
Steve C.
At 30 JUN 1998 11:26AM Scott Kearney wrote:
Steve,
List_Users sends its output to the System Receiver, which you can trap for. Look in the Knowledge Base for OpenInsight and search for 'receiver' or 'system receiver', and you'll get a link to an article how to do it along with a good example.
Hope this helps.
-Scott Revelation