Vorheriges Thema: application exportNächstes Thema: application get_desc


application get_acl

Anwendungs-ACL anzeigen oder den Teil der Anwendungs-ACL anzeigen, der sich auf einen bestimmten Prinzipal bezieht.

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

Name der Anwendung.

<principal>

Name eines Prinzipals. <principal> liegt in folgender Form vor:

<name>

Lokale Benutzer oder Gruppen.

/<name>

Globale Benutzer oder Gruppen.

<scope>:<type>:<name>

Ein voll qualifizierter Prinzipalname, wobei <scope> "global" oder "lokal", <type> die "Gruppe" oder der "Benutzer" und <name> der Gruppen- oder Benutzername ist.

--batch

Ausgabe in UDL-Format anzeigen.

Beispiele
application get_acl my-app

Die Anwendungs-ACL anzeigen.

application get_acl my-app local:user:admin

Den Anwendungs-ACL-Eintrag für lokalen Benutzer "admin" anzeigen.

application get_acl my-app admin

Den Anwendungs-ACL-Eintrag für lokalen Benutzer "admin" anzeigen.

Typische Ausgabe

Die Ausgabe dieses Befehls ist Folgende:

Nicht-Batch-Ausgabe

--- 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. If the principal is a local user or group which has been deleted, the value for Scope, Type and Name is *.

Batch-Ausgabe

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