define variable domain as IDomain no-undo.
assign domain = service:NewDomain("AcmeDomain") domain:AuthenticationSystem = service:GetAuthenticationSystem("_oeusertable") domain:AccessCode = <user variable> domain:Tenant = service:GetTenant("Acme") domain:Description = "This domain is the default domain for Acme."). service:CreateDomain(domain). |