You need to sign in to do that
Don't have an account?
Vipin K 10
SOQL for Lead/Roles
Hi All,
I want to write an query to find lead visibliity based on roles. We have sharing settings enabled but for some reasons i am not able to get leads based on roles . Can some one help me with the query.
Need Lead Name, Status, Owner, User Role
I want to write an query to find lead visibliity based on roles. We have sharing settings enabled but for some reasons i am not able to get leads based on roles . Can some one help me with the query.
Need Lead Name, Status, Owner, User Role
Let me know.
All Answers
Let me know.
Following query can provide you the Parent Role of the current Owner's Role.
But, you may need some custom APEX code to establish the hierarchy.