lib/SecurityOne.php
public function factoryUser($user,$password,$name,$group,$role,$status,$email=null,$iduser=null,$extra=[]) {
        $this->user=$user;
        $this->password=$password;
        $this->fullName=$name;
        $this->group=$group;
        $this->role=$role;
        $this->status=$status;
        $this->email=$email;
        $this->iduser=$iduser;
        $this->extraFields=$extra;
    }
public function factoryUser($user,$password,$name,$group,$role,$status,$email=null,$iduser=null,$extra=[]) {
        $this->user=$user;
        $this->password=$password;
        $this->fullName=$name;
        $this->group=$group;
        $this->role=$role;
        $this->status=$status;
        $this->email=$email;
        $this->iduser=$iduser;
        $this->extraFields=$extra;
    }
public function factoryUser ( $ user , $ password , $ name , $ group , $ role , $ status , $ email = null , $ iduser = null , $ extra = [ ] ) { $ this -> user = $ user ; $ this -> password = $ password ; $ this -> fullName = $ name ; $ this -> group = $ group ; $ this -> role = $ role ; $ this -> status = $ status ; $ this -> email = $ email ; $ this -> iduser = $ iduser ; $ this -> extraFields = $ extra ; }
It sets the current user.
@param string $user
@param string $password
@param string $name
@param string[] $group
@param string $role
@param int $status 0=disabled,1=enabled
@param string $email
@param string $iduser
@param array $extra
It sets the current user .