I want to find out all superior of a particular user in org structure. Lets say under user A1, there are two employee.. B1 & B2. Under B1, there are 3 employee C1, C2, C3. Now is there any standard rule is available in which if i give user C1 position id then it will give me superior B1 & A1. I know about rule 168, but it gives me only immediate supervisior in return. I need all supervisior id.
If there is no std rule available then how do i achieve this kind of requirement. Please share your opinion.