We have a few Roles created and I am trying to the following to see if a user has a specific role or not.
roleSecurityService.HasAccess(
"Operations");
The issue I am having is that it is not returning the correct values, always returns false.
When searching the files I only see reference to this being at the "Enity/Add" level of functionality.
Am I missing something...?
I am trying to get this code to fire in multiple places some cutom forms some detail forms
thanks
|