# EsbGetUserEx

Description

EsbGetUserEx() gets the user information structure containing security information for the user. This function operates similarly to EsbGetUser().

Syntax

    Declare Function EsbGetUserEx Lib "esbapin" (
    ByVal hCtx As Long,
    ByVal userName As String,
          pUserInfo As ESB_USERINFOEX_T) As Long

Parameters

hCtx | Essbase API context handle.
UserName | User name.
pUserInfoEx | Address of pointer to receive info structure of externally authenticated user.

Return Value

If successful, returns the user information structure in pUserInfo.

Notes

- This function operates similarly to EsbGetUser(). The difference is that this function returns the extended user information structure ESB_USERINFOEX_T.

Access

This function requires the caller to have Create/Delete User privilege (ESS_PRIV_USERCREATE) for the logged in server, unless they are getting their own user information.

Example

See Also