Blogs
-
How to add Apex Class Access to permission set programmatically
In case if you are looking further, how to assign such permission sets to users automatically, here is answer: http://sfdcian.com/assigning-permission-set-to-user-in-apex/
-
How to change field permissions in a permission set or profile programmatically (APEX)
-
How to set password of a user using Apex
NOTE method The first parameter of that function call is the actual id of the user object. User Ids start with 005 and are 15 or 18 characters long and second parameter is password string. Complex password generation TIPS