EsbGetUser() gets a user information structure, which contains security information for the user.
EsbGetUser (hCtx, userName, pUserInfo)
ByVal hCtx As Long
ByVal userName As String
pUserInfo As ESB_PUSERINFO_T
| hCtx | Essbase VB API context handle. |
| userName | User name. |
| pUserInfo | Buffer to receive a user info structure. |
Declare Function EsbGetUser Lib "ESBAPIW" (ByVal hCtx As Long,
ByVal User As String, UserInfo As ESB_USERINFO_T) As Long
Sub ESB_GetUser ()
Dim sts As long
Dim User As String
Dim UserInfo As ESB_USERINFO_T
User = "Joseph"
'************************
' Get User Info structure
'************************
sts = EsbGetUser (hCtx, User, UserInfo)
End Sub
EsbGetApplicationAccess()