LdapTools\Operation\AuthenticationOperation::setSwitchToCredentials PHP Method

setSwitchToCredentials() public method

Set whether the connection should switch to be bound under the context of the credentials given by this object when this operation is executed.
public setSwitchToCredentials ( boolean $switchToCredentials )
$switchToCredentials boolean
    public function setSwitchToCredentials($switchToCredentials)
    {
        $this->properties['switchToCredentials'] = $switchToCredentials;
        return $this;
    }