List the Access Control Expressions (ACEs) for a specified column.

Syntax

CLI

maprcli table cf colperm get
    -path <path>
    -cfname <column-family name>
    [ -name Column name ]
    -json | -long

REST

http[s]://<host>:<port>/rest/table/cf/colperm/get?path=<path>&cfname=<name>&name=<name>&json

Parameters

Parameter

Description

path

The path to the table.

  • For a path on the local cluster, start the path at the volume mount point. For example, for a table named test under volume1 which has a mount point at /volume1, specify the following path: /volume1/test
  • For a path on a remote cluster, you must also specify the cluster name in the path. For example, for a table named test under volume1 in the sanfrancisco cluster, specify the following path:/mapr/sanfrancisco/volume1/customer

cfname

The name of the column family in which the column is located.

nameThe name of the column that you want to list the ACEs for. If you do not specify the column name, the ACEs for all of the columns in the family are listed.
jsonThis command returns multiple levels of data. You must specify to display the output either in JSON or the "long" format to see the full set of information.
long

Examples

Listing ACEs for a column

CLI

maprcli table cf colperm get -path /mytable -cfname cf1 -name col1 -long

REST

https://r1n1.sj.us:8443/rest/table/cf/get?path=%2Fvolume1%2Fthetable&cfname=mycf&name=col1&long