Hi,
I have a VBS script that list to a text file all AD security groups that user is member of. Problem is that query returns full distinguished name like "CN=Citrix MS Access 97,OU=CTX_application_groups,OU=Fi,OU=Groups,OU=company,DC=domain,DC=domain,DC=com"
For the sake of simplicity I would like to spilt this and write only the name of the group to the user who will eventually use this data
Where it gets complicated (to me) is that some of our group names also contain , (comma). So if I just use "MyArray = Split(Group, ",", -1, 1)" it splits also the group name.
Any way around this?
Thanks!