EsbResetUser() resets the user's security structure to its initial state.
EsbResetUser (hCtx, UserName)
ByVal hCtx As Long ByVal UserName As String
hCtx | Essbase API context handle |
UserName | User name |
Returns zero (0) if successful.
The following user security parameters are reset to their initial state:
This function requires the caller to have Create/Delete User privilege (ESB_PRIV_USERCREATE) for the logged in server.
Declare Function EsbResetUser Lib "ESBAPIW" (ByVal hCtx As Long, _ ByVal UserName As String) As Long Sub ESB_ResetUser () Dim UserName As String Dim sts As Long UserName = "William" sts = EsbResetUser (hCtx, UserName) End Sub