SERVER.GET.INFO
Returns information about a specified database alias.
Syntax
SERVER.GET.INFO(database alias,ID)
- ID 1: Returns the current user name
- ID 2: Database alias flag
- ID 3: Database alias cursor
Arguments to this function can be strings, or references to cells containing strings. If strings, they must be enclosed in quotes.
If a non-existent or non-attached server is entered as the database alias argument, the function returns a #Value error.
Example
This function returns the name of the user currently logged on to the database alias INFOR_1:
SERVER.GET.INFO("INFOR_1",1)