public function setUserWorkstations($workstations = [])
    {
        if (is_array($workstations)) {
            $workstations = implode(',', $workstations);
        }

        return $this->setFirstAttribute($this->schema->userWorkstations(), $workstations);
    }
public function setUserWorkstations($workstations = [])
    {
        if (is_array($workstations)) {
            $workstations = implode(',', $workstations);
        }

        return $this->setFirstAttribute($this->schema->userWorkstations(), $workstations);
    }
public function setUserWorkstations ( $ workstations = [ ] ) { if ( is_array ( $ workstations ) ) { $ workstations = implode ( ',' , $ workstations ) ; } return $ this -> setFirstAttribute ( $ this -> schema -> userWorkstations ( ) , $ workstations ) ; }
Sets the workstations the user can login to.

@param string|array $workstations The names of the workstations the user can login to.
Must be an array of names, or a comma separated
list of names.

@return $this
Sets the workstations the user can login to .