xdmp.filesystemFileEncryptionStatus( pathname as String ) as ObjectNode?
Return the encryption status of a file. Returns empty sequence if there is no file.
Parameters | |
---|---|
pathname | Pathname of the file. |
http://marklogic.com/xdmp/privileges/xdmp-filesystem-file
xdmp.filesystemFileEncryptionStatus("/var/opt/MarkLogic/Forests/Documents/Label"); => { "pathname": "/var/opt/MarkLogic/Forests/Documents/Label" "encrypted": "true", "encryptionKeyId": "317085c9-5c65-4b08-b8bf-2ac5a5c0943e", "encryptionSize": "1920" }
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.