objectExistInSession() Method
In CatalogService, use the objectExistInSession() method to determine if an object exists in the catalog for a given user.
For more information about in-session methods, see About In-Session Methods.
Signature
boolean objectExistInSession(String reportObjectAbsolutePath, String bipSessionToken);
Parameters for objectExistInSession() Method
Parameter | Description |
---|---|
String reportObjectAbsolutePath |
The path to the object to test for in the catalog. For example: /HR Manager/Employee Reports/Employee Data Model.xdm |
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 session to perform needed operation. |