PreviousNext

acl check

Returns the permissions granted by the ACL to the principal entering the command. The syntax is:

acl check acl_name_list [-entry] [-type manager_type_name]

Options
When no options are specified, the command returns permissions from the ACL for the object named by the command.

-entry
Specifies that the command is to operate on the ACL of the namespace entry of the named object.

-type manager_type_name
Specifies that the command uses a particular ACL manager. This option is needed only for objects that have more than one purpose such as principal names that also act as directories (see Description).

Description
The acl check operation returns the permissions granted in the specified object's ACL to the principal that invoked the command. The argument is a list of names of objects whose ACLs are to be operated on. If you specifiy no options, the permissions from the ACL for the object named by the operation are returned.

Privileges Required
The permissions required are defined by the object's ACL Manager. Use the permissions operation to display the currently available tokens and their meanings. See the documentation for the DCE component you are using to obtain a more detailed description of its specific permissions.

Examples

dcecp> acl check {006f859c-ed3d-1d57-a383-0000c0239170@ncacn_ip_tcp:130.105.5.45 \

>. principal/aaa}
rwdtcia
dcecp>

dcecp> acl check /.:/hosts
rwdtcia
dcecp>