b83d82f2f7bdcb2424a7be586a98a0d0f2ff9e22
API/CodeSamples/SharedWithValues.md
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | |
| 5 | 5 | ##About |
| 6 | 6 | |
| 7 | -This sets the list of users or roles available in the "Shared With" dropdown of the Misc tab in the Report Designer. This is usually set per-user and may be fine-tuned to your organization's needs. While this setting doesn't have any immediate effect on what reports a user can see, the [[CurrentUserRoles|/API/CodeSamples/CurrentUserRoles]] and [[CurrentUserName|/API/CodeSamples/CurrentUserName]] properties are used in conjunction with this property to create report-level security. |
|
| 7 | +This sets the list of users or roles available in the "Shared With" dropdown of the Misc tab in the Report Designer. This is usually set per-user and may be fine-tuned to your organization's needs. While this setting doesn't have any immediate effect on what reports a user can see, the [[CurrentUserRoles|/API/CodeSamples/CurrentUserRoles]] and [[CurrentUserName|/API/CodeSamples/CurrentUserName]] properties are used in conjunction with this property to create report-level security. The values contained in this list can either be names of **users** or names of **roles** within your application. Both may be used simultaneously if so desired. |
|
| 8 | 8 | |
| 9 | 9 | **Default Value:** null/Nothing |
| 10 | 10 | |
| ... | ... | @@ -54,6 +54,6 @@ End Class |
| 54 | 54 | |
| 55 | 55 | ##Screenshots |
| 56 | 56 | |
| 57 | -AdHocSettings.SharedWithValues = new string[] {"Marketing", "Sales", "Bob", "Alice", "Dan"} |
|
| 57 | +AdHocSettings.SharedWithValues = new string[] {"Marketing", "Sales", "Bob", "Accounting", "Lisa"} |
|
| 58 | 58 | |
| 59 | 59 |  |
| ... | ... | \ No newline at end of file |