CubeSetConnParams

CubeSetConnParams is used to encrypt the password for a virtual cube in the }CubeProperties cube.

This function is valid in processes only.

This function is not supported in processes on TM1 Database 12.

Syntax

CubeSetConnParams(cubeName, providerName, dataSourceLocation,dataSourceName, 
dataSourceCatalog, userID, password, sapClientID, sapClientLang, providerString);

Argument

Description

cubeName

The name of the cube for which you want to set the password.

providerName

 

dataSourceLocation

Name your administrator assigns to a set of catalogs at a particular location. In Microsoft Analysis Services, this is the name of a registered server.

dataSourceName

 

dataSource catalog

The name assigned by your administrator to a particular collection of databases (Cubes, Dimensions and other objects). For MAS, this is the name of the database.

UserID

A valid username for the database.

Password

Password to use for this data source.

sapClientID

SAP client ID

sapClientLang

SAP language setting.

providerString

 

Example

CubeSetConnParams(sc, TM1OLAP, tm1server, , sdata, admin, apple, , , );