downloadObjectInSession() Method

In CatalogService, use the downloadObjectInSession() method to download an object in binary format from the catalog for a given user.

For more information about in-session methods, see About In-Session Methods.

Signature

byte[] downloadObjectInSession(String reportAbsolutePath, String bipSessionToken);

Parameters for downloadObjectInSession() Method

Parameter Description

String reportAbsolutePath

The path to the object in the catalog to download.

String bipSessionToken

The proprietary token string generated for the user. With the bipSessionToken string, the user no longer needs to provide user credentials. The server can validate this token string and restore the server session to perform needed operation.