function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
snippets@sfsnippets@sf 

Permission Set in Apex

can we get assigned permission sets in apex of the user in salesforce,

 

probably with out an SOQL

 

Thanks in Advance

 

 

gautam_singhgautam_singh

Yes we can there is PermissionSetAssignment Object which acts between Permssion Sets and User  Object and ..Check This Datamodel for the API Inteactiona and more concepts over this .

You can also use SOQL for the Assignment from Summer '12 Read This for more details



Important :

Hit Kudo's if you find useful information from this post and if is the solution to your answer please mark it as a solution .