-
Is there a way to Query Salesforce Role Hierarchy?
I'd like to query for all UserRoles under the same Parent Role.
The only way I can think of doing this is by querying all Roles, then putting together a tree using the ParentRoleId field. Is there a better way?
Log In to reply.
Popular Salesforce Blogs

Advancing the Salesforce's Email-to-Case with Email to Case Advance
Intensifying Subscription Economy & Retaining Customers I am not going to go back to the books to explain what ‘Subscription Economy’ is. We all are…

How to Use Map In Lightning Component?
For using the map in the lightning component, we need to define the attribute of the type map to hold key-value pairs. In this blog,…

Learn All About the Types of Integration Flows | Salesforce Integration
Types of flows (Integration) 1. Oauth 2.0: Defines how to securely delegate user authentication to grant authorization. Enables the third-party applications to get a temporarily…
Popular Salesforce Videos
What is Salesforce - The CRM Bringing Companies & Customers Together
Salesforce is the world’s #1 customer relationship management (CRM) platform. We help your marketing, sales, commerce, service and IT teams work as one from anywhere…
Learn All About Process Builder In Salesforce | Salesforce Tutorial
Process Builder in Salesforce. This video will cover the following points - 1. Introduction to Process Builder - 0:15 Learn how to create Process Builder.…
The Secret Truth of Automating Processes in Salesforce
Just because you CAN AUTOMATE something in Salesforce, DOESN'T MEAN YOU SHOULD! Join for an insightful and entertaining discussion where you will learn: - How…