PreviousNext

dce_acl_obj_add_group_entry(3sec)

Adds permissions for a group ACL entry to the given ACL

Synopsis

#include <dce/dce.h>
#include <dce/aclif.h>


void dce_acl_obj_add_group_entry(
sec_acl_t *acl,
sec_acl_permset_t
permset,
uuid_t *
group,
error_status_t *
status);

Parameters

Input

acl
A pointer to the ACL that is to be modified.

permset
The permissions to be granted to the group.

group
The UUID identifying the group.

Output

status
A pointer to the completion status. On successful completion, the routine returns error_status_ok. Otherwise, it returns an error.

Description
The dce_acl_obj_add_group_entry( ) routine adds a group ACL entry to the given ACL. It is equivalent to calling the dce_acl_obj_add_id_entry( ) routine with the sec_acl_e_type_group entry type, but is more convenient.

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: dce_acl_obj_add_id_entry(3sec)