Hi,

We have placed an Attribute in the LOCATION field of a Organisational
Unit that we would like to use to set the exchange storage group.

for example

User1.DEPT1.ORG

in the DEPT1 OU we have placed the the STRING FOURTH in the Location field.

I need to find a way to query that OU for the String during a Exchange
Account Add.

Now I create a local Variable call $GetOU This will be populated with
\ORG\DEPT1 (when using the above example)

I just need a point as to how to create a query to retrive the
information from the LOCATION field of the Variable $GetOU

I have been playing with xpath (but it is not working)

query:search($srcQueryProcessor,'Entry','','$GetOU ','Organizational
Unit','L','')[1]/@src-dn

any help would be great

Thanks