EsbGetAlias() gets the active alias table name from the active database for a user.
EsbGetAlias (hCtx, AltName, szName)
ByVal hCtx As Long ByVal AltName As String ByVal szName As Integer
hCtx | Essbase VB API context handle. |
AltName | Buffer to receive a name of active alias an table. |
szName | Size of the buffer to receive a name of an active alias table. |
Declare Function EsbGetAlias Lib "ESBAPIW" (ByVal hCtx As Long, ByVal Name As String, ByVal szName As Integer) As Long Sub ESB_GetAlias () Dim sts As Long Const szName = 80 Dim pName As String * szName '********** ' Get Alias '********** sts = EsbGetAlias (hCtx, pName, szName) End SubEsbListAliases()