Forum Discussion
AD Group Name manipulation
I am a complete newcomer to this environment and am having a deal of difficulty with the following
From a logon page I use AD Auth to validate the visitor and then I wish to have a dynamic page whose content is based around the AD groups the Visitor is a member of.
Example an AD group has a name RDS-Example-1. Example-1 is the name of a Remote desktop server. when any of the members of the group log on the AD query checks for the group membership. thus they return Group name CN=RDS-Example-1
What I am having trouble with is manipulating the Group name CN=RDS-Example-1 so that I can extract the Remote Desktop Server name as the dynamic entry for destination in the remote Desktop access policy.
I have been looking for information on text string manipulation but am getting more confused. I suspect this is actually quite easy, could some kind person enlighten me please.
If you know your string starts with "CN=RDS-" and you want everything after that, you can just snip it with "string range"
string range $group 7 end
- Josiah_39459Historic F5 Account
If you know your string starts with "CN=RDS-" and you want everything after that, you can just snip it with "string range"
string range $group 7 end
- Stewart_Hume_24NimbostratusGreat, Thanks. Exactly what I needed.
Recent Discussions
Related Content
* 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