PreviousNext

dce_acl_obj_add_user_entry(3sec)

Adds permissions for a user ACL entry to the given ACL

Synopsis

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

void dce_acl_obj_add_user_entry(
sec_acl_t *acl,
sec_acl_permset_t
permset,
uuid_t *
user,
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 user.

user
The UUID identifying the user to be added.

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_user_entry( ) routine adds a user 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_user entry type, but it 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)