Previous Topic: migrate (Catalog Management)--Migrate a CatalogNext Topic: catalog put_acl (Catalog Management)--Replace Entire Global Catalog ACL


catalog get_acl (Catalog Management)--Replace Portion Application ACL

Display the global catalog ACL, or display that portion of the global catalog ACL which relates to a particular principal.

Syntax
catalog get_acl <name> [ <principal> ] [ --batch ]
Parameters
<name>

Name of the global catalog.

<principal>

Name of a principal. <principal> is in the form <scope>:<type>:<name> where <scope> is local, <type> is user or group, and <name> is the user or group name.

--batch

Display output in UDL format.

Examples
catalog get_acl /mycat

Display the catalog ACL.

catalog get_acl /mycat local:user:admin

Display the catalog ACL entry for local user 'admin'.

Typical Output

The output of this command is as follows:

Non-batch output

--- Owner Information ---
ID                                    Scope    Type    Name
-------------------------------------------------------------------------
val                                   val      val     val
--- Entry Information ---
ID                                    Scope    Type    Name              Access
--------------------------------------------------------------------------------
val                                   val      val     val               val
...

The value of Scope is local. The value of Type is user or group. The value of Access is a comma separated list of access levels or permissions. If the principal is a local user or group which has been deleted, the value for Scope, Type and Name is *.

Batch output

acl
   {
   owner       : id="val"   # scope type name
   entries
      [
      id="val", access_level1, ... access_levelN, permission1, ... permissionN   # scope type name
      ...
      ]
   }