Forum Discussion
heenakhanam0708
Altocumulus
May 30, 2025How to get group name CN from session.ad.last.attr.memberOf when there are multiple attribute value
Hi all, When I use the session.ad.last.attr.memberOf variable the group values are like: saml2:Attribute Name="groups" saml2:AttributeValue CN=webaccess,OU=Users,OU=mydomain,DC=com /saml2:At...
- Jun 17, 2025
I found an error though causing duplicate entries
you can use this one as custom expressionset result "" set groups [mcget {session.ad.last.attr.memberOf}] foreach {full match} [regexp -all -inline {CN=([^,]+)} $groups] { append result "| $match " } append result "|" return $result
Jun 01, 2025
Hi heenakhanam0708, can you provide any example/screenshot of the output from the variables via the Access -> Overview -> Active Sessions view?
heenakhanam0708
Altocumulus
Jun 17, 2025Dear JoshBecigneul ,
The variable output is as below,
| CN=webaccess,OU=Users,OU=mydomain,DC=com | CN=webtest,OU=Users,OU=mydomain,DC=com | CN=webfort,OU=Users,OU=mydomain,DC=com | CN=webui,OU=Users,OU=mydomain,DC=com |
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