Integration/Tutorials/Security.md
... ...
@@ -101,7 +101,7 @@ public static void InitializeReporting()
101 101
//Set connection string per-tenant
102 102
AdHocSettings.SqlServerConnectionString = GetConnectionForUser();
103 103
//Set the stored reports file folder path per-tenant
104
- AdHocSettings.ReportsPath="\\" GetUserCompany() "\\"
104
+ AdHocSettings.ReportsPath= string.Format("\\{0}\\", GetUserCompany());
105 105
AdHocSettings.CurrentUserTenantId = GetUserDepartment(); //Organizational level security
106 106
AdHocSettings.CurrentUserRoles = new string[]{GetUserRole()}; //Role based security
107 107
//Set table and view access