
xdmp:get-server-field-names() as xs:string*
Returns a sequence of the server field names.
http://marklogic.com/xdmp/privileges/xdmp-get-server-field-names
admin role have
privileges to see all of the server fields. Application Services uses several
protected server fields, each having a name that starts with "scope@".
Therefore, if you are a user with the admin role, you will see
all of those fields when you call xdmp:get-server-field-names.
xdmp:get-server-field-names()
=>
("name1","name2")