BAROC Connect


brcConnect

brcConnect (user, cell)

Connects to a BAROC cell given an username and cell name. The BAROC cell name must match a cell defined in the BAROC Connections page. If brcConnect returns false, the connection could not be established, and brcGetLastError must be called to determine the reason for the failure. If brcConnect is called for a username/cell that to which a connection has been established, subsequent requests are ignored.

Parameters:

user - The user id to use for the connection.

cell - The name of the cell as defined in BAROC Connections.

Returns:

Returns true if the connection was successful, false if not.

Example

status = brcConnect('user', 'BMC1')
if status == false then
error = brcGetLastError()
trace('Error connecting to cell BMC1: ' & error, RED)
endif

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*