This article gives details on how to change the user password using the Workflow API.
You may do this by defining and executing the following code, for example inside a Web Panel object user event:
&WorkflowServer.Connect(&UserName, &ActualPassword)
&WorkflowOrganizationalModel = &WorkflowServer.GetOrganizationalModel()
&WorkflowUser=&WorkflowOrganizationalModel.GetUserByName(&UserName)
&WorkflowUser.ChangePassword(&ActualPassword,&NewPassword)
commit
return
Where the data types variables are the following:
&WorkflowServer – WorkflowServer
&WorkflowOrganizationalModel – WorkflowOrganizationalModel
&WorkflowUser – WorkflowUser
&UserName – WorkflowName
&ActualPassword – WorkflowPassword
&NewPassword – WorkflowPassword
For further information about the Workflow API, go to Workflow API.