Forum Discussion
MXV_164448
Nimbostratus
Mar 30, 2015Active directory retrieve memberof group CN
Hi,
How can I retrieve the group common name from a AD Query ?
I can't find any info except how to get DN of groups
Thanks
Max
Seth_Cooper
Employee
Mar 30, 2015AD returns the group information with the full DN and that is stored in the session.ad.last.attr.memberOf session variable. If you just want the CN for the group you will need to strip off the parts of the strings you don't want.
What is the purpose of just wanting the group name returned instead of the full DN?
Seth
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects