06-07-2010 12:48 PM
I would like to hide a field, such as Status, based on a role set in Security Explorer. How should I go about implementing this, assuming it is possible? The code probably would go in the Load Actions for the form in question, but not sure on what objects in C# I need to pull in to check the logged in user's role.
06-08-2010 12:32 AM
I am not sure with the security roles can do this.
But have you checked out the possibilities of field level security?
This would also hide the fields in gtroups as it goes directly into the provider.
Alexander
06-08-2010 05:59 AM
06-08-2010 06:30 AM
Check out this code, should be what you are looking for.
http://sites.google.com/site/genesprojects/code/workingwithroles