Permission Set & Profile using SOQL
Permission Set & Profile using SOQL:
General for the profile the permission sets are created and assigned to the profile. Use the below SOQL query and understand the relation
Above you can see the IsOwnedByProfile field which shows whether the permission set is for profile or its just a permission set itself.
If it is true, then permission set is associated to the particular profile shown in the Profile Id column.
If it is false, then it is the individual permission set which can be assigned to any user.
General for the profile the permission sets are created and assigned to the profile. Use the below SOQL query and understand the relation
SELECT Id, Name, IsOwnedByProfile, ProfileId FROM PermissionSet
Above you can see the IsOwnedByProfile field which shows whether the permission set is for profile or its just a permission set itself.
If it is true, then permission set is associated to the particular profile shown in the Profile Id column.
If it is false, then it is the individual permission set which can be assigned to any user.
Comments
Post a Comment