Deletes a user.
Syntax
ESS_FUNC_M EssDeleteUser (hCtx, UserName);
| Parameter | Data Type | Description |
|---|---|---|
hCtx | ESS_HCTX_T | API context handle. |
UserName | ESS_STR_T | Name of user to delete. |
Notes
The caller may not delete itself nor the last Administrator on the server.
Return Value
None.
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_DeleteUser (ESS_HCTX_T hCtx)
{
ESS_FUNC_M sts = ESS_STS_NOERR;
ESS_STR_T UserName;
UserName = "Jim Smith";
sts = EssDeleteUser (hCtx, UserName);
return (sts);
}See Also