Ejemplo n.º 1
0
 public static function obtenerPorUsuario($username)
 {
     if (!empty($username)) {
         $privUser = new PrivilegiosUsuario();
         $privUser->InicializarRoles($username);
         return $privUser;
     } else {
         return false;
     }
 }