EsbListLogins

Returns the list of login instances in the current session.

Syntax

Declare Function EsbListLogins Lib "esbapin" (
ByVal hCtx As Long,
      pItems As Integer) As Long
ParameterDescription

hCtx

API context handle.

pItems

The number of logins in the login list returned from the server.

Notes

You can call EsbListLogins() more than once for the same user name and server. The API returns a unique context handle for each login to the specified server.

Return Value

If successful, returns login information and a count of current logins.

Access

Before calling this function, you must first initialize the API and obtain a valid instance handle by calling EsbInit().