Virtuoso provides four functions for accessing an LDAP Directory Service:


You can call each function independently. Each invocation of a function creates a separate LDAP session which is closed at the end of the operation.

URLs beginning with


invoke a non-conditional SSL operation. Such URLs cannot be used with the try_tls flag set. If the URL does not contain a port number then Virtuoso will use the default port number 389 for <ldap://> and port number 636 for <ldaps://>.

The username and password optional parameters are used to bind LDAP connections using basic authentication. If the operation is permitted to all users then you can leave these parameters out.