define variable user as IUser no-undo.
assign user = service:NewUser("mcblack") user:Password = /* application variable */ user:GivenName = "Martin" user:SurName = "Black" user:Domain = service:GetDomain("AcmeDomain"). service:CreateUser(user). |