A RESTful browser for eXist Java-Based Function Modules


http://exist-db.org/xquery/request
A module for dealing with HTTP requests.

request:set-current-user($user-name as xs:string, $password as xs:string) xs:boolean?
Change the user identity for the current HTTP session. Subsequent XQueries in the session will run with the new user identity.
$user-nameThe user name
$passwordThe password

Returns true if the user name and password represent a valid user

Deprecated: Moved to session module. See session:set-current-user. This function could be removed at anytime during the 1.5 development and will be removed in the 1.6 release.
Return to list of all modules