Exemplo n.º 1
0
 public static DataTable PortalRights(UserInfo oUser)
 {
     WebServices.Services Resource = new WebServices.Services();
     if (_PortalRights == null)
     {
         _PortalRights = Resource.GetAllPortalOperationByResourceIDAndUserID(oUser.ID, _PortalResourceID, true);
     }
     else if (_PortalRights.Rows.Count == 0)
     {
         _PortalRights = Resource.GetAllPortalOperationByResourceIDAndUserID(oUser.ID, _PortalResourceID, true);
     }
     return(_PortalRights);
 }