GetAllWorkstationNames

(RPC Manager Library)

Description: Launched module that creates an alphabetically sorted list of all known workstation names. The list is not service specific.
Returns: Nothing. List available in first parameter.
Usage: Script Only.
Function Groups: Network
Related to:
Format: \RPCManager.GetAllWorkstationNames(pList[, Layer]);
Parameters:  
pList
Required. Pointer which will be set to the resulting server list of workstation names.
Layer
Optional. Layer for which a server list should be obtained.
Comments:

This module is a member of the RPC Manager's Library, and must therefore be prefaced by \RPCManager, as shown in the "Format" section.

If the application you are developing is a script application, the module call must be prefaced by System\RPCManager, and the System variable must be declared in AppRoot.src.

This subroutine is only called by the service instance that is server during synchronization.

Example:

...
  If Watch(1);
  [
    \RPCManager.GetAllWorkstationNames(&NameList);
...

NameList will contain an array of all the workstation names in the server list.

RPC Manager Service