Loading TOC...

tde:column-get-permissions

tde:column-get-permissions(
   $schema as xs:string,
   $view as xs:string,
   $column as xs:string
) as item()*

Summary

This function returns the permissions granted to 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

xquery version "1.0-ml"; 
import module namespace tde = "http://marklogic.com/xdmp/tde" 
      at "/MarkLogic/tde.xqy";
      
tde:column-get-permissions("schema1", "view1", "column1")      
 
    

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.