| ## rdacl_get_manager_types(3sec) Lists the types of ACLs protecting an object Synopsis #include <dce/rdaclif.h> void rdacl_get_manager_types( handle_t h, sec_acl_component_name_t component_name, sec_acl_type_t sec_acl_type, unsigned32 size_avail, unsigned32 *size_used, unsigned32 *num_types, uuid_t manager_types[ ], error_status_t *status); Parameters Input h A handle referring to the target object. component_name A character string containing the name of the target object. sec_acl_type The ACL type. The sec_acl_type_t data type distinguishes the various types of ACLs an object can possess for a given manager type. The possible values are as follows: · sec_acl_type_object · sec_acl_type_default_object · sec_acl_type_default_container size_avail An unsigned 32-bit integer containing the allocated length of the manager_types[ ] array. Output size_used An unsigned 32-bit integer containing the number of output entries returned in the manager_types[ ] array. num_types An unsigned 32-bit integer containing the number of types returned in the manager_types[ ] array. This is always equal to size_used. manager_types[ ] An array of length size_avail to contain UUIDs (of type uuid_t) identifying the different types of ACL managers protecting the target object. status A pointer to the completion status. On successful completion, the routine returns error_status_ok. Otherwise, it returns an error. Description The rdacl_get_manager_types( ) routine returns a list of the types of ACLs protecting an object. For example, in addition to the regular file system ACL, a file representing the stable storage of some database could have an ACL manager that supported permissions allowing database updates only on certain days of the week. ACL editors and browsers can use this operation to determine the ACL manager types that a particular reference monitor is using to protect a selected entity. Then, using the rdacl_get_printstring( ) routine, they can determine how to format for display the permissions supported by a specific manager. Notes This call is not intended to be used by application programs. The sec_acl Application Programming Interface (API) provides all the functionality necessary to use the ACL facility. This reference page is provided for programmers who wish to write an ACL manager. In order to write an ACL manager, a programmer must implement the entire rdacl interface. This network interface is called on the client side via the sec_acl local interface. Developers are responsible for implementing the server side of this interface. Test server code is included as a sample implementation. Files /usr/include/dce/rdaclif.idl The idl file from which dce/rdaclif.h was derived. Errors The following describes a partial list of errors that might be returned. Refer to the OSF DCE Problem Determination Guide for complete descriptions of all error messages. error_status_ok The call was successful. Related Information Functions: sec_intro(3sec) rdacl_get_printstring(3sec) ##