I am trying to make it work with AD and because our global AD has some craps records (like a location having name with a quota) I am getting an error. Looking into code in "NP_findName" function I have noticed that code for:
mytext = mytext+|location: '|+ThisDCD.location(0)+|', |
has single quota and the code for email has double quota
mytext = mytext+|email: "|+emaddy +|", |
Not sure why is this but I have changed single quota with double quota, the error is gone, and still works fine.