EsbCreateUser() creates a new user.
EsbCreateUser (hCtx, userName, Password)
ByVal hCtx As Long ByVal userName As String ByVal Password As String
hCtx | Essbase VB 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 100 characters long. |
Declare Function EsbCreateUser Lib "ESBAPIW" (ByVal hCtx As Long, ByVal User As String, ByVal Password As String) As Long Sub ESB_CreateUser () Dim sts As Long Dim User As String Dim Password As String User = "Joseph" Password = "Password" '************ ' Create user '************ sts = EsbCreateUser (hCtx, User, Password) End SubEsbDeleteUser()