You need to sign in to do that
Don't have an account?
Jason Fung
Is there a way to automate the creation of custom user profile, OWD and sharing rules?
I'm working for an ISV. We have this problem that everytime we install our managed package to our new customers, we have to set up the custom user profile, OWD and sharing rules manually. I wonder if anyone knows a way to automate this process?
You can use Apex to create a User, profile, Sharing rules. See the sample code here
User ---> User Object
Profile --> Profile Object
Permission Set --> Permission Set and Permission Set Assignement Objects