17-Feb-2016 18:34
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.
Solved! Go to Solution.
18-Feb-2016
05:35
- last edited on
05-Jun-2023
16:17
by
JimmyPackets
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
18-Feb-2016
05:35
- last edited on
05-Jun-2023
16:17
by
JimmyPackets
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
18-Feb-2016 09:54