【发布时间】:2011-09-21 15:49:15
【问题描述】:
我需要知道是否有办法更改配置或命令来关闭/禁用 SSRS 与 Active Directory 帐户的集成?我希望能够在安全选项卡上添加没有域/计算机登录的用户。我知道您可以启用 CustomSecurity 功能(例如 Forms Auth),但我不想利用整个过程。我可以访问我的报告查看以下代码:
try
{
myReq.UseDefaultCredentials = true;
myReq.Credentials = new NetworkCredential(Properties.Settings.Default.myReportViewerUser, Properties.Settings.Default.MyReportViewerPassword);
HttpWebResponse myResp = (HttpWebResponse)myReq.GetResponse();
if (myResp.StatusCode == HttpStatusCode.OK)
{
this.iReports.Attributes["src"] = "http://myserver/Reports/Pages/Report.aspx?ItemPath=%2fUser+Reports%2fFacility+User%27s+Report";
}
}
我希望能够在 SSRS 中创建与我们为网站设置的组相对应的用户(使用 FormsAuth),而无需创建本地登录或域登录到服务器计算机。如果我能做到这一点,它会将这些登录与除 SSRS 报告之外的任何其他访问权限隔离开来。创建的 SSRS 用户将对应回组,从而指定该人有权运行哪些报告。
有没有人处理过类似的情况?请指教! 谢谢
【问题讨论】:
标签: c# asp.net reporting-services