table cf colperm get
Lists 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
NOTE: The
mapr
user is not treated as a superuser.
MapR-DB does not allow the mapr
user to run this command unless that user
is given the relevant permission or permissions with access-control expressions.Parameters
Parameter |
Description |
---|---|
path |
The path to the table.
|
cfname |
The name of the column family in which the column is located. |
name | The 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. |
json | This 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 | This 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. |
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