Skip to main content
Sai Sravan (Randstad) 님이 All About AppExchange에 질문했습니다

Is there any way to create one custom permission set and i need to give all our namespace object permissions and field permissions to the permission set which i have created before.

답변 2개
  1. 2023년 9월 4일 오전 4:13

    If you need to assign permission set to user you can do it in code: create PermissionSetAssignment records.

     

    https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_permissionsetassignment.htm

     

    Note that usually the relevant profiles receive permissions to the package components during installation, where we can choose which profiles should have access.

0/9000