Multiuser Lingo Dictionary > Multiuser Lingo Dictionary > getUserNames |  |

getUserNames

Syntax

    System.DBAdmin.GetUserNames {[#lowNum: firstNumber {, #highNum: lastNumber} ]}

Description

Multiuser server database function; returns a list of the user IDs in the server database.

The two optional parameters `#lowNum` and `#highNum` indicate the first and last `userID` records to get, respectively. This is useful when getting names out of a large database that would be unwieldy to list all at once. If `#highNum` isn't included, the first 100 users after `#lowNum` will be returned.

Example

This statement returns the list of user IDs in the server database between records 57 and 89:

    errCode = gMultiuserInstance.sendNetMessage("system.DBAdmin.getUserNames", "anySubject", [#lowNum: 57, #highNum: 89])