Previous Topic: grid get Command Output SpecificationNext Topic: put_acl (Grid Control)--Replace Entire Grid ACL


get_acl (Grid Control)--Display Grid ACL

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

Syntax
grid get_acl [ <principal> ] [ --batch ]  
Parameters
<principal>

Display only that portion of the grid ACL which pertains to the specified 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
grid get_acl

Display the grid ACL.

grid get_acl local:user:admin

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

Output

The output of this command is as follows:

1. 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 or global. The value of Type is user or group. The value of Access is a comma separated list of access levels or permissions.

1. Batch output:

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