I want to get the available users into a OU and the query i have written.
ou=IT Center,dc=xxx,dc=xxx,dc=com?distinguishedName?sub?(mail=$issue.reporter.getEmailAddress())
Output: CN=Udayeswaran NAGARAJAN,OU=Users,OU=XYZ,OU=IN,OU=IT Center,DC=xxx,DC=xxx,DC=com
But I really need only OU=XYZ.
Can anybody help me or tell me which must be the correct query?
Thanks in advance.
Regards.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.