[mapguide-users] Maestro API obtaining %MG_USERNAME% and %MG_PASSWORD%

Hans Milling hm at geograf.dk
Fri Feb 6 05:03:23 PST 2015


Hi, I am using MapGuide 2.2 and Maestro API 4 (soon 5).

If I read a datasource I can get the properties like username and password
but they are displayed as %MG_USERNAME% and %MG_PASSWORD%. I guess that
since I am connecting to the server as administrator, I should be able to
read the actual username and password. Question is how?

Code looks like this:


The connection string looks like this:
Service=sqlserver;Username=%MG_USERNAME%;Password=%MG_PASSWORD%;DataStore=databasename

Question is how do I obtain the username and password? I know that with the
older versions of Maestro the username and password was not hidden, and
Maestro was changed to not display these, but I should still be able to
obtain them or?

Best regards
  Hans Milling...



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Maestro-API-obtaining-MG-USERNAME-and-MG-PASSWORD-tp5185967.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list