Xbasic
API_GETUSERS Function
Syntax
User_List as C = API_GetUsers([C Location [,L lDomain [,C type ]]])
Arguments
- User_List
A CR-LF delimited list of users.
- Location
Optional. Default = the name of the current computer. The name of a computer or a domain.
- lDomain
Logical. Optional. Default = .F. .T. = Location refers to a domain. .F. = Location refers to a computer.
- type
Character
Description
Retrieve a list of users from either machine or domain specified by 'Location.' If no parameters are specified, it will retrieve the users from the current machine.
Discussion
The API_GETUSERS() function returns a CR-LF delimited list of users of a computer or domain.
Example
? api_getusers("alphasoftware") = Administrator George Harold Sally
Limitations
Desktop applications only.
See Also