I need to use gMSA account to connect SQL Server from my delphi application. So, can I use delphi's LogonUser() to get handle to impersonate this gMSA account? If yes, what password I need to supply as an argument to this LogonUser()?
Please advise.
I need to use gMSA account to connect SQL Server from my delphi application. So, can I use delphi's LogonUser() to get handle to impersonate this gMSA account? If yes, what password I need to supply as an argument to this LogonUser()?
Please advise.
The S stands for Service. If you are running as a service written in Delphi you just set your SQL Server connection component in Delphi to use OS Authentication. No user name or password required.
If you are running as an application then no - Group Managed Service Accounts are not for you.