【问题标题】:Sybase Connection String With Windows Authentication带有 Windows 身份验证的 Sybase 连接字符串
【发布时间】:2015-08-19 05:27:12
【问题描述】:

目前我们使用下面的连接字符串通过 Sybase 连接一些特定的用户凭据,使用 ASP.NET 4.0。

<connectionStrings>
   <add name="MySybaseDatabase" 
        connectionString="DataSource=dbo;Port=5010;UID=userName;PWD=Password;" 
        providerName="Sybase.Data.AseClient"/>
</connectionStrings>

但这里我们要使用 Windows 身份验证。那么如何更改连接字符串,以便使用登录用户的 windows 用户凭据。

【问题讨论】:

    标签: asp.net-mvc-4 connection-string sybase windows-authentication sap-ase


    【解决方案1】:

    一切都一样,只需使用“`Integrated Security=SSPI;”而不是用户名和密码

    【讨论】:

      猜你喜欢
      • 2012-02-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-12-25
      • 1970-01-01
      • 1970-01-01
      • 2017-03-23
      相关资源
      最近更新 更多