EssResetUser

Resets the user's security structure to its initial state.

Syntax

  ESS_FUNC_M EssResetUser() (hCtx, UserName);
ParameterData TypeDescription

hCtx;

ESS_HCTX_T

API context handle

UserName;

ESS_STR_T

User name

Notes

The following user security parameters are reset to their initial state:

Return Value

Returns zero (0) if successful.

Access

This function requires the caller to have Create/Delete User privilege (ESS_PRIV_USERCREATE) for the logged in server.

Example

ESS_FUNC_M
ESS_ResetUser (ESS_HCTX_T  hCtx)
{
   ESS_FUNC_M      sts = ESS_STS_NOERR;
   ESS_STR_T  UserName = "William";   

   sts = EssResetUser (hCtx, UserName);
   return (sts);
}

See Also