9857a6d7496d155549f1d5d12be63b5747fc1842
Guides/MVC-Integration/Phase-II-Draft.md
| ... | ... | @@ -338,7 +338,7 @@ then open command prompt and type 'sqllocaldb.exe stop v11.0' and 'sqllocaldb.ex |
| 338 | 338 | |
| 339 | 339 | AdHocSettings.CurrentUserName = (string)user.Username; |
| 340 | 340 | |
| 341 | - if (!AdHocSettings.CurrentUserIsAdmin) { |
|
| 341 | + if (AdHocSettings.CurrentUserIsAdmin) { |
|
| 342 | 342 | //Sam is an administrator in the system and has full access to everything |
| 343 | 343 | AdHocSettings.SharedWithValues = new string[] { "Bob", "Sales", "Alice", "Marketing", "Sam", "Mallory" }; //Sam can freely choose who to share with based on department or username |
| 344 | 344 | } |