FAQ/hide-settings-page-button-or-aspx-page.md
... ...
@@ -0,0 +1,11 @@
1
+#Hide Settings Page
2
+
3
+##The Settings Button
4
+
5
+If you want to hide the settings page button in the report designer and restrict it to only admin users, you will need to set the property shown below.
6
+
7
+``Izenda.AdHoc.AdHocSettings.ShowAdminButton = false;``
8
+
9
+##The Settings Page
10
+
11
+If you want to restrict access to the page itself, _settings.aspx_, you can apply typical aspx page restrictions in the ``OnPageLoad()`` event, such as redirecting if the username or similar variable is not set to the required value.
... ...
\ No newline at end of file
hide-settings-page-button-or-aspx-page.md
... ...
@@ -1,11 +0,0 @@
1
-#Hide Settings Page
2
-
3
-##The Settings Button
4
-
5
-If you want to hide the settings page button in the report designer and restrict it to only admin users, you will need to set the property shown below.
6
-
7
-``Izenda.AdHoc.AdHocSettings.ShowAdminButton = false;``
8
-
9
-##The Settings Page
10
-
11
-If you want to restrict access to the page itself, _settings.aspx_, you can apply typical aspx page restrictions in the ``OnPageLoad()`` event, such as redirecting if the username or similar variable is not set to the required value.
... ...
\ No newline at end of file