code/libraries/joomlatools/library/user/abstract.php
public function set($identifier, $value)
    {
        $attributes = $this->getData()->attributes;
        $attributes[$identifier] = $value;

        return $this;
    }
public function set($identifier, $value)
    {
        $attributes = $this->getData()->attributes;
        $attributes[$identifier] = $value;

        return $this;
    }
public function set ( $ identifier , $ value ) { $ attributes = $ this -> getData ( ) -> attributes ; $ attributes [ $ identifier ] = $ value ; return $ this ; }
Set an user attribute

@param   mixed   $identifier Attribute identifier, eg foo.bar
@param   mixed   $value      Attribute value
@return KUserAbstract
Set an user attribute