There is a class available SysSQLSystemInfo, we can use that to get it.
SysSQLSystemInfo::construct().getloginDatabase();

There is a class available SysSQLSystemInfo, we can use that to get it.
SysSQLSystemInfo::construct().getloginDatabase();
*This post is locked for comments