MarkLogic Server 11.0 Product Documentation
tde.columnRemovePermissions

tde.columnRemovePermissions(
   schema as String,
   view as String,
   column as String
) as null

Summary

This function removes all permissions from a protected column.

Parameters
schema The name of the schema containing the protected column.
view The name of the view containing the protected column.
column The name of the protected column.

Usage Notes

The tde-admin role is required to call this function.

Note that this is a library function that requires that you import the tde.xqy module.

If the specified protected column is not found, a TDE-COLUMNNOTFOUND error is raised.

Example

declareUpdate();
const tde = require("/MarkLogic/tde.xqy");

tde.columnRemovePermissions("schema1", "view1", "column1")    
    
Powered by MarkLogic Server | Terms of Use | Privacy Policy