November 6, 2017

How to query all non portal user roles in Salesforce?

SOQL:

SELECT Id, Name FROM UserRole WHERE PortalType = 'None'

Output:


Cheers!!!

No comments:

Post a Comment