The first two systems I worked with using InterSystems technology were a PDP-11 running M11+ and a VAX 11/750 running M/VX. Too many years ago to count! 😊
Since then I've used most, if not all, InterSystems products up to IRIS and HealthShare today.
I'm Italian living in Switzerland and I work as Senior Consultant at GAIVOTA consultin SA, we provide professional services for InterSystems and other technologies.
Curiosity: apart from DC, I don't have ANY social account! 😁
If the header is called "AUTHORIZATION", then use:
Set authHeader = %request.GetCgiEnv("AUTHORIZATION")
I strongly discourage the use of embedded sql, it has many disadvantages.
Sorry Theo but I don't agree at all.
The differences (disadvantageous or not) between Embedded SQL and Dynamic Queries have evaporated since few years now, please have a look to this article from @Benjamin De Boe :
New in 2020.1: the Universal Query Cache
In general, I advice to use the query type (Embedded vs. Dynamic) that best fit in given code pattern, for example Embedded SQL is very convenient for query that returns 1 row.
Or maybe you have other issues with Embedded SQL?












In the very first line at the top of your class insert the line:
Include %syLDAP.INCEdit to correct, as pointed out below, sorry!
Include %syLDAP