Gets the user information structure containing security information for the user.
Syntax
Declare Function EsbGetUserEx Lib "esbapin" ( ByVal hCtx As Long, ByVal userName As String, pUserInfo As ESB_USERINFOEX_T) As Long
Parameter | Description |
---|---|
hCtx | API context handle. |
UserName | User name. |
pUserInfoEx | Address of pointer to receive info structure of externally authenticated user. |
Notes
This function operates similarly to EsbGetUser. The difference is that this function returns the extended user information structure ESB_USERINFOEX_T.
Return Value
If successful, returns the user information structure in pUserInfo.
Access
This function requires callers to have Create/Delete User privilege (ESS_PRIV_USERCREATE) for the logged in server, unless they are getting their own user information.