EssCreateExtUser() creates a new externally authenticated user.
ESS_FUNC_M EssCreateExtUser (hCtx, UserName, Password, SecurityProvider, ProviderConnectionParameters);
ESS_HCTX_T | hCtx |
ESS_STR_T | UserName |
ESS_STR_T | Password |
ESS_PROTOCOL_T | SecurityProvider |
ESS_CONNPARAM_T | ProviderConnectionParameters |
hCtx | Essbase API context handle. |
UserName | Name of user to create. User names can be 30 characters long. |
Password | Security password for new user. Passwords can be up to 100 characters long. |
SecurityProvider | The name of the external authentication mechanism. |
ProviderConnectionParameters | Parameters used by the external authentication mechanism, if any. |
None.
ESS_FUNC_M ESS_CreateUser (ESS_HCTX_T hCtx) { ESS_FUNC_M sts = ESS_STS_NOERR; ESS_STR_T UserName; ESS_STR_T Password; UserName = "Jim Smith"; Password = "Password"; sts = EssCreateExtUser (hCtx, UserName, Password); return (sts); }EssDeleteUser()