public function getConsoleRole()
    {
        if ($this->offsetExists('console')) {
            $cons = $this->offsetGet('console');

            if (isset($cons['role'])) {
                return $cons['role'];
            }
        }

        return false;
    }
public function getConsoleRole()
    {
        if ($this->offsetExists('console')) {
            $cons = $this->offsetGet('console');

            if (isset($cons['role'])) {
                return $cons['role'];
            }
        }

        return false;
    }
public function getConsoleRole ( ) { if ( $ this -> offsetExists ( 'console' ) ) { $ cons = $ this -> offsetGet ( 'console' ) ; if ( isset ( $ cons [ 'role' ] ) ) { return $ cons [ 'role' ] ; } } return false ; }
Get the specified role for the console user from the project setttings.

If the role is not defined (or does not exist) running GemsTracker in
console mode requires the users login name, organization and password to
be specified on the command line.

@return string
Get the specified role for the console user from the project setttings .