Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dce_acl_obj_add_user_entry(3sec) — DCE 3.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

dce_acl_obj_add_user_entry(3sec)  —  Subroutines

NAME

dce_acl_obj_add_user_entry — Adds permissions for a user ACL entry to the given ACL

Synopsis

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

aclA pointer to the ACL that is to be modified. 

permsetThe permissions to be granted to the user. 

userThe UUID identifying the user to be added. 

Output

statusA 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). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026