//NetworkCredential netCredential; //ReportCredentials repCredential; public ReportService() { rs.Credentials = CredentialCache.DefaultCredentials; rs.Url = WebConfigurationManager.AppSettings["FCVStockTool_ReportService2005_ReportingService2005"].ToString(); rs.UnsafeAuthenticatedConnectionSharing = false; rs.PreAuthenticate = true; ReportService2005.Role[] roles = rs.ListRoles(SecurityScopeEnum.Catalog); }
public IEnumerable <string> ListRoles() { return(webserviceProxy.ListRoles(SecurityScopeEnum.Catalog).Select(r => r.Name)); }