Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要使用 gMSA 帐户从我的 delphi 应用程序连接 SQL Server。那么,我可以使用 delphi 的LogonUser()来模拟这个 gMSA 帐户吗?如果是,我需要提供什么密码作为这个 LogonUser() 的参数?
请指教。
S 代表服务。如果您作为用 Delphi 编写的服务运行,您只需在 Delphi 中设置 SQL Server 连接组件以使用 OS 身份验证。无需用户名或密码。
如果您作为应用程序运行,那么不 - 组托管服务帐户不适合您。