How do i find all users affiliated with a permission set license?

enter image description here

  • Hi, I'm going to roll back the edit, because answers should be answers and not in the questions :) I can see you accepted Hermant's answer which is perfect, but if you want to post this info too it should be as another answer. Thanks for participating :)
    – Matt Lacey
    Apr 15 '19 at 5:39

You can achieve this, using the objects PermissionSetLicenseAssign and PermissionSetLicense.

You can try with below SOQL

SELECT PermissionSetLicense.DeveloperName, PermissionSetLicense.MasterLabel, Assignee.Name FROM PermissionSetLicenseAssign WHERE PermissionSetLicense.MasterLabel= 'yourpermissionsetlicencelabel'

See if this helps!

  • 1
    Dude You're awesome, tyvm!
    – Mr.Smith
    Feb 25 '19 at 13:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.