SQL Connection in EPDM addin

Hi Guys,

For a epdm addin I am trying to connect to the SQL so as to fill in some dropdown lists with list values.

I need to create a connection string and was curious where EPDM keeps all that information it uses to connect to database.
If I can use that I wont have to hardcode or force the user to reinput the values.

I know some info such as Server and dataBase name are under Hkey_LocalMachine>Software>Solidworks>Applications>PDMWorks Enterprise>Databases>.

However user and password are not in there.

Or maybe there is something in the API that will connect me those lists? However I do no see it yet.


Thanks

SolidworksApi macros