Example for a process HOWTO generate a new user. I use this when a create a company and I automatically create the first user(admin) and send an email to his address.
CREATE User WITH User.Company=Company,User.AccessLevel='CompanyAdmin',User.EmailAddress=Company.EmailAddress,User.CreatedOnRegistration='Yes',User.FirstName='User',User.LastName=Company.Name,User.Status='Active',User.PasswordGenerated=GENERATE_PWD(4,10,2,1,0)
More examples could be made and a lot of solutions to implement.
Hope this helps,