Select to view content in your preferred language

Disable Tools by User

1745
2
05-02-2013 06:02 AM
BrianLeroux
Frequent Contributor
So my company does not want to allow data exports for all users due to the sensitivity of our data. There are certain individuals that can and should have this functionality enabled. I am trying to find a way via custom behavior that will validate the logged in users name and enable/disable the export tool as appropriate.

My issue here is that I do not know how to reference the export tools that is comes with the Silverlight Viewer. I have no probelems with custom tools as i can do this in the in canExecute and I am also able to do this with the layout elements. Any ideas how to disable an add-in from another?
0 Kudos
2 Replies
PietaSwanepoel2
Frequent Contributor
Three things come to mind:


  • create separate applications for different users. Add/ remove functionality according to rights. This could include logins using more normal ways

  • password protect your services - Silverlight API has some login examples

  • remove the export buttons from selection and attribute table - Manage Toolbars

0 Kudos
BrianLeroux
Frequent Contributor
Thanks for the reply Pieta. Unfortunately your suggestions will not work for me.
1. I already manage many apps and to double the number would be to much upkeep.
2. We use IIS authentication and not passwords. The issue is all users are allowed to see the data but i need to limit the exporting of the data to certain individuals.
3. Export button is already moved. I am trying to find a way that would allow me to put it back in but be dynamic in that the button is active for only certain individuals.
0 Kudos