I am using QGIS to access a Postgres database.

Can someone tell me how I could pass that same username and password as a
parameter to a web page?

for example to directly open a page in qgis according to the manual for
example in this line

from qgis.PyQt.QtCore import QUrl; from qgis.PyQt.QtWebKitWidgets import
QWebView; myWV = QWebView(None); myWV.load(QUrl('
https://wikipedia.org/wiki/[%name%]')); myWV.show()

replace the content between square brackets with the user who accessed

-- 
José Mercedes Venegas Acevedo
cel 955725384
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to