Skip to content

Instantly share code, notes, and snippets.

@pogilvie
Created May 28, 2018 23:39
Show Gist options
  • Save pogilvie/09b2c468b14d5b65d03dd43e1f315201 to your computer and use it in GitHub Desktop.
Save pogilvie/09b2c468b14d5b65d03dd43e1f315201 to your computer and use it in GitHub Desktop.
u = new User(Username  = Email
                    ,contactid = c.id
                    ,profileid = p.Id
                    ,alias = fname + count.format()
                    ,email = email
                    ,emailencodingkey = 'UTF-8'
                    ,firstName = fname
                    ,lastname = lname
                    ,timezonesidkey = 'America/Los_Angeles'
                    ,localesidkey = 'en_US'
                    ,languagelocalekey = 'en_US');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment