FAQ/switching-databases-via-code.md
... ...
@@ -4,7 +4,7 @@
4 4
5 5
You can set the database access level on a per-user basis using different connection strings by simply adding logic that changes the connection string based on logic you provide. For instance, take the code sample below:
6 6
7
-```
7
+```sql
8 8
public static void InitializeReporting() {
9 9
AdHocSettings.CurrentUserName = GetUserName();
10 10
AdHocSettings.CurrentUserTenantID = GetUserTenantID();