Post Author: craibuc
CA Forum: .NET
What is the most efficient way to test for inherited or explicitly-granted 'view-on-demand' right for the current user?
I realize that that I can test for CrystalDecisions.Enterprise.CeRole.ceRoleViewOnDemand using:
Report.SecurityInfo.GetAnyPrincipal(Identity.EnterpriseSession.UserInfo.UserId).Role
But I will need to test the specific right ('Refresh the report's data', #131131, I think) if the Role is ceRoleAdvanced. Perhaps it will be more efficient just to test for the specific Right.
Thanks in advance.