+ Start a Discussion
Manj_SFDCManj_SFDC 

Apex code to query reportees

I have this requirement Let’s say there is a manager manager1 who manages user1 and user2 and user 1 manages 10 other people and user2 manages 20 people and these 20 people may in turn manage n number of people (recursive way)
i need to get the list of people managed by manager 1 directly or indirectly 
can you guys try to help here.  

Thanks