EssGConnectEx

Description

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);
ESSG_HGRID_ThGrid
ESSG_SERVER_TServer
ESSG_TOKEN_TToken
ESSG_USERNAME_TUsername
ESSG_PASSWORD_TPassword
ESSG_APPLICATION_TApplication
ESSG_DATABASE_TDatabase
ESSG_ULONG_TulOptions

Parameters

hGrid Handle passed back from EssGNewGrid.
Server Name of a valid server.
Token The token representing the username and password of an authenticated user.
Username Name of valid user at server.
Password Password of user.
Application Name of a valid application on server.
Database Name of a valid database for application on server.
ulOptions 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.

Return Value

If successful, returns ESSG_STS_NOERR.

Notes

Access

None.

See Also

EssGConnect
Using the Grid API Functions
Grid API Structures