XQuery Function Documentation
http://exist-db.org/xquery/session
java:org.exist.xquery.functions.session.SessionModule
A module for dealing with the HTTP session.
session:set-current-user #2
session:set-current-user ($user-name as xs:string, $password as xs:string) as xs:booleanChange the user identity for the current HTTP session. Subsequent XQueries in the session will run with the new user identity.
- Parameters:
$user-name The user name $password The password - Returns:
- xs:boolean : true if the user name and password represent a valid user