When you create a cube, WorkWithPlus for BI imports the necessary objects to query and manage the cubes. One of those objects is an External Object called "UtilsBusinessIntelligencePlus", that has some important methods to work with the cubes and perform important tasks as Updating data and Add Security to a Cube
The available methods are:
This method uploads to the cube ds the file specified in the path and returns the id of the load.
This method authenticates a user in order to visualize a cube and returns the proper token for its user. It receives the username and password from the user (usually an administrator user)
This method creates a new user. It receives the token from a user with enough privileges who need to authenticate before.
This method authenticates a user in order to visualize a cube and returns the proper token for its user. It receives the username from the user (usually an application user from whom you can't access to its plain password)
This method receives a token from a previously authenticated user and returns the list of cubes from which the user has privileges to work with.
This method removes from the cube ds the specific data load specified in the parameters load.
This method returns every created user.
This method returns the fields from the ds.
This method sets the privileges within a cube ds, for the list of users defined in users.
This method removes all the data within the cube ds.
Most of the parameters used in these methods can be retrieved from the procedure BusinessIntelligencePlus<NAME_CUBE>Data.
|