Need to add SQL Server Name to Active Session Table
Can Microsoft add SQL Server name (including SQL Server instance) to Active Session Virtual Table. It will really help to workout the SQL Server name of the Database, which would be useful for many add-ons (extensions).
In general we do not want to expose 'environment information' in the Active Session Virtual table, so we currently do not have plans to expose that. A workaround would be for you to call your own 'configuration service' / tenant to database mapping to get which database server is serving this tenant.
Hi Jens,
Can you please elaborate more with some detail code to extract the SQL details from AL code.
Also i do not see any security concerns as who ever have access to the active session table would have know about the SQL server to connect to it.
But exposing the SQL Name is a really important feature we all use at now using Dot net nowadays. Going forward we could not get this. This is my concern.
Thanks
Rama Mathanmohan
Get Outlook for Androidhttps://aka.ms/ghei36
From: Jens Møller-Pedersen [email protected] Sent: Friday, March 20, 2020 7:40:06 AM To: microsoft/ALAppExtensions [email protected] Cc: Rama-M [email protected]; Author [email protected] Subject: Re: [microsoft/ALAppExtensions] Need to add SQL Server Name to Active Session Table (#6257)
In general we do not want to expose 'environment information' in the Active Session Virtual table, so we currently do not have plans to expose that. A workaround would be for you to call your own 'configuration service' / tenant to database mapping to get which database server is serving this tenant.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/microsoft/ALAppExtensions/issues/6257#issuecomment-601570108, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALIGJVIUKGI24U367WZI2DLRIMMVNANCNFSM4K4PMJSA.