code/libraries/joomlatools/library/user/abstract.php
public function get($identifier, $default = null)
    {
        $attributes = $this->getData()->attributes;

        $result = $default;
        if(isset($attributes[$identifier])) {
            $result = $attributes[$identifier];
        }

        return $result;
    }
public function get($identifier, $default = null)
    {
        $attributes = $this->getData()->attributes;

        $result = $default;
        if(isset($attributes[$identifier])) {
            $result = $attributes[$identifier];
        }

        return $result;
    }
public function get ( $ identifier , $ default = null ) { $ attributes = $ this -> getData ( ) -> attributes ; $ result = $ default ; if ( isset ( $ attributes [ $ identifier ] ) ) { $ result = $ attributes [ $ identifier ] ; } return $ result ; }
Get an user attribute

@param   string  $identifier Attribute identifier, eg .foo.bar
@param   mixed   $default Default value when the attribute doesn't exist
@return  mixed   The value
Get an user attribute