☰
Current Page
Main Menu
Home
Home
Editing SecurityVariables
Edit
Preview
H1
H2
H3
default
Set your preferred keybinding
default
vim
emacs
markdown
Set this page's format to
AsciiDoc
Creole
Markdown
MediaWiki
Org-mode
Plain Text
RDoc
Textile
Rendering unavailable for
BibTeX
Pod
reStructuredText
Help 1
Help 1
Help 1
Help 2
Help 3
Help 4
Help 5
Help 6
Help 7
Help 8
Autosaved text is available. Click the button to restore it.
Restore Text
#Common Security Variables [[_TOC_]] ##Report Restriction The Izenda [AdHocSettings class](http://wiki.izenda.com/API/AdHocSettings) is the heart of setting up security. Within it, there are a number of variables which will prove useful in creating dynamic security. Below is a list of the commonly used variables. ###[CurrentUserIsAdmin](http://wiki.izenda.com/API/CodeSamples/CurrentUserIsAdmin) This determines if the user is an admin and is true by default. Note that admins ignore [share-with rights](http://wiki.izenda.com/FAQ/Questions/Using-Share-with-rights-roles-properties-in-Izenda-Reports-6#Shared-roles). ###[CurrentUserName](http://wiki.izenda.com/API/CodeSamples/CurrentUserName) This sets the current user's name which is used as the report author during report creation. Authors always have full rights to reports they create. ###[CurrentUserRoles](http://wiki.izenda.com/API/CodeSamples/CurrentUserRoles) This is a string array that allows you to define a list of roles/groups the current user belongs to. ###[NumSharedDropdowns](http://wiki.izenda.com/API/CodeSamples/NumSharedDropdowns) This tells Izenda how many rows should be displayed in the Shared-With drop down on in the [Misc. tab](http://wiki.izenda.com/FAQ/Questions/Using-Share-with-rights-roles-properties-in-Izenda-Reports-6#Shared-roles) of the Report Designer. ###[SharedWithValues](http://wiki.izenda.com/API/CodeSamples/SharedWithValues) This tells Izenda which shared with roles to show in the Shared-With drop down on in the Misc. tab of the Report Designer. ###[CurrentUserTenantId](http://wiki.izenda.com/API/CodeSamples/CurrentUserTenantId) This sets the current user's tenant ID. A user can only belong to one tenant. ###[HiddenCategories](http://wiki.izenda.com/API/CodeSamples/HiddenCategories) This will hide an entire category of reports from a user ###[HiddenColumns](http://wiki.izenda.com/FAQ/Izenda-API-Tip-Hidden-Columns) This will hide any column with the given name. Be sure to fully qualify column names so only the appropriate tables are impacted. ###[HiddenFilters](http://wiki.izenda.com/API/CodeSamples/HiddenFilters) This will append an equals condition to any report that has the given column name with the value specified. ##Feature Restriction ###[ShowDesignLinks](http://wiki.izenda.com/API/CodeSamples/ShowDesignLinks) This will removel the new button and the ability to save reports. ###[ShowDesignDashboardLink](http://wiki.izenda.com/API/CodeSamples/ShowDesignDashboardLink) Removes links to the Dashboard Designer ###ShowNewButton This will show or hide the expandable New button on the Izenda navigation bar. ###[ShowSettingsButton](http://wiki.izenda.com/API/CodeSamples/ShowSettingsButton) This will show or hide the settings button on the report list page. A [redirect](http://wiki.izenda.com/Best-Practices/Security-Best-Practices) can be used to ensure that users can't reach this location by typing into the address bar.
Uploading file...
Header
 **This documentation is for the legacy Izenda 6 product. Documentation for the new Izenda 7 product can be found at [[https://www.izenda.com/docs/|https://www.izenda.com/docs/]]**
Sidebar
 --- * [[Installing Izenda on Windows Server|http://wiki.izenda.com/Guides/Installing-Izenda]] * [[Installing Izenda on Mac|/Guides/Mac-Install]] * [[Connecting to the Database|/Integration/Tutorials/connect-to-the-database]] * [[User Guides|http://wiki.izenda.com/Guides/ReportDesign]] * [[Developer Guides|Guides/Developer Links and Guides]] --- * [Izenda Website](http://www.izenda.com) * [Product Video](http://www.izenda.com/Site/Video/ProductVideo.aspx) * [Izenda Blog](http://www.izenda.com/blog) * [Company Page](http://www.izenda.com/company) * [Gallery](http://www.izenda.com/izenda-vision/) * [Client List](http://www.izenda.com/case-studies/) * [Contact Page](http://www.izenda.com/contact-us/) * [Knowledge Base](http://www.izenda.com/Site/KB/Integration/94) --- * [[Acknowledgements]]
Edit message:
Cancel