Query the packages assigned to a user #inSalesforce

Query the packages assigned to User

Select id, CreatedDate, PackageLicense. NamespacePrefix from UserPackageLicense where UserId  IN('00524000005us9J')

For multiple users:

Select id, CreatedDate, PackageLicense. NamespacePrefix from UserPackageLicense where UserId  IN('00524000005us9J','00524000005uXXX',...)

Comments