Previous Topic: unlock (Application Control and Management)--Unlock ApplicationNext Topic: put_acl (Application Control and Management)--Replace Entire Application ACL


get_acl (Application Control and Management)--Display Application ACL

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

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

Name of the application.

<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
application get_acl my-app

Display the application ACL.

application get_acl my-app local:user:admin

Display the application 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
      ...
      ]
   }