Salesforce

RqContexts (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

RqContexts (Magic xpa 3.x)

Returns information about the current status of the broker in terms of active contexts.

Syntax:

RqContexts (service/server name, query password)

Parameters:

service/server name – An Alpha variable or constant with a service/server name (from the Servers table).

query password – An Alpha variable or constant. This parameter is only required if the PasswordQuery is set in the Mgrb.ini file; otherwise, this parameter should be an empty string.

Returns:

Returns the following details for each context, in XML format:

  1. Context ID

  2. User ID

  3. Context Group: The Context ID opened after login. Nested parallel contexts will all share the same Context Group value.

  4. Start time

  5. Client address

  6. Runtime-engine host/port

  7. Application name

The function will return an empty string in case of an error.

Example:

RqContexts ('Default Broker','')

See also:

The Online and Rich Client Samples projects (program ES07 and RES07)

Since version:

1.5 SP2

Reference
Attachment 
Attachment