Xbasic

A5_GET_GROUPS Function

Syntax

Group_List as C = a5_get_groups([C master_password [,L lBuiltIn ]])

Arguments

master_password

A CR-LF delimited list of defined groups.

lBuiltIn

Logical. Optional. If you are not logged in as the administrator, you must supply the administrator password.

Description

Gets the names of all groups. Returns a crlf delimited list. If you are not logged on as the Administrator, then you must supply the master password.

Discussion

If you have set up Users and Groups for a Database through the Tools > Security commands, the A5_GET_GROUPS() function returns names of all the groups that have been defined.

Example

? a5_get_groups()
= Documentation
Engineering
Customer Support
Sales

Limitations

Desktop applications only.

See Also