MarkLogic 10 Product Documentation
xdmp:get-session-field-names

xdmp:get-session-field-names() as xs:string*

Summary

Returns a sequence of the HTTP session field names from the session created by the xdmp:login function.

Required Privileges

http://marklogic.com/xdmp/privileges/xdmp-get-session-field-names

Usage Notes

You can use the xdmp:set-session-field function to set a named value in a session and the xdmp:get-session-field function to return a value set in a session field.

Example

xdmp:get-session-field-names()
=> ("user", "role", "action", "index")
Powered by MarkLogic Server | Terms of Use | Privacy Policy