Many thanks hilfy, yes, "CN=" is constant as a prefix to the field so I used your first suggestion, though I will probably play around with the other and the one from synapsevampire just in case things change!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.