Exemplo n.º 1
0
 public virtual string[] GetRoles(string mOperation)
 {
     if (!Permissions.ContainsKey(mOperation) || Permissions[mOperation] == null)
     {
         Permissions[mOperation] = RoleProvider.GetRoleForOperation(mOperation, ObjectName);
     }
     return(Permissions[mOperation] as string[]);
 }