Ejemplo n.º 1
0
 //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);
 }
Ejemplo n.º 2
0
 public IEnumerable <string> ListRoles()
 {
     return(webserviceProxy.ListRoles(SecurityScopeEnum.Catalog).Select(r => r.Name));
 }