EsbCreateUser

Creates a new user.

Syntax

EsbCreateUser (hCtx, userName, Password)
ByVal hCtx     As Long
ByVal userName As String
ByVal Password As String
ParameterDescription

hCtx

VB API context handle.

userName

Name of user to create. See User Name Limits.

Password

Security password for new user. See Password Limits.

Notes

Return Value

None.

Access

This function requires the caller to have Create/Delete User privilege (ESB_PRIV_USERCREATE) for the logged in server.

Example

Declare Function EsbCreateUser Lib "ESBAPIN" (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 Sub

See Also