Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
I am writing a console application. And, want to get all the user profiles who are under the given specific user and down the user profiles hierarchy.
Thanks in advance
There are a few methods that should help you here:
GetPeers
GetManagers
GetDirectReports
There is no "easy way" that I've found but you can write your own helper classes that use these methods.
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.