AnsweredAssumed Answered

Create user programmatically

Question asked by stalxed stalxed on Jul 14, 2014
Latest reply on Jul 14, 2014 by Ron Buchanan
I want in post_install function of my package create new user.
I want use this user for fields Created By and Updated By in  Workflow Definitions.
How I create new User programmatically and get his ID?
And what type of user is better to create(Regular User, Group User or Portal Api User)?
Or is this a stupid idea? Since the necessary rights still need to be set manually?

Outcomes