EssListConnections() lists all users who are connected to the currently logged in server or application.
ESS_FUNC_M EssListConnections (hCtx, pCount, ppUserList);
ESS_HCTX_T | hCtx |
ESS_PUSHORT_T | pCount |
ESS_PPUSERINFO_T | ppUserList |
hCtx | Essbase API context handle |
pCount | Variable to receive count of users |
ppUserList | Pointer to an array of user information structures. This array is allocated by the API |
Returns 0 if successful.
This function requires the caller to have Supervisor or Application Designer privilege.
ESS_FUNC_M ESS_ListUserConnections (ESS_HCTX_T hCtx, ESS_HINST_T hInst) { ESS_FUNC_M sts = ESS_STS_NOERR; ESS_USHORT_T usrcnt; ESS_PUSERINFO_T users; sts = EssListConnections(hCtx, &usrcnt, &users); if(!sts) EssFree(hInst, users); return(sts); }