EssGConnectEx

Connects a grid to an Essbase database using a user authentication token rather than a username and password.

Syntax

ESSG_FUNC_M EssGConnectEx (hGrid, Server, Token, Application, Database, ulOptions);
ParameterData TypeDescription

hGrid

ESSG_HGRID_T

Handle passed back from EssGNewGrid.

Server

ESSG_SERVER_T

Network server name string.

The server name can be expressed as hostname or hostname:port.

Token

ESSG_TOKEN_T

The token representing the username and password of an authenticated user.

Username

ESSG_USERNAME_T

Name of valid user at server.

Password

ESSG_PASSWORD_T

Password of user.

Application

ESSG_APPLICATION_T

Name of a valid application on server.

Database

ESSG_DATABASE_T

Name of a valid database for application on server.

ulOptions

ESSG_ULONG_T

Options flag. Values are ESSG_CONNECT_NODIALOG, which attempts to login and connect without displaying dialog, using the default/passed setting; or ESSG_CONNECT_DEFAULT which will display the login and selection dialog.

Notes

Return Value

If successful, returns ESSG_STS_NOERR.

Access

None.

See Also