EsbSetPassword() sets a user's password, erasing the existing password.
EsbSetPassword (hCtx, userName, Password)
ByVal hCtx As Long ByVal userName As String ByVal Password As String
hCtx | Essbase VB API context handle. |
userName | User name. |
Password | New password for a user. |
Declare Function EsbSetPassword Lib "ESBAPIW" (ByVal hCtx As Long, ByVal UserName As String, ByVal Password As String) As Long Sub ESB_SetPassword () Dim sts As long Dim UserName As String Dim Password As String UserName = "Joseph" Password = "NewPassword" '***************** ' Set New password '***************** sts = EsbSetPassword (hCtx, UserName, Password) End SubEsbListUsers()