Function : Access Control List

ACLGetPrivName - Given a privilege number, get the privilege name.
----------------------------------------------------------------------------------------------------------

#include <acl.h>

STATUS LNPUBLIC ACLGetPrivName(
DHANDLE hACL,
WORD PrivNum,
char far *retPrivName);

Description :

This function returns the privilege name (role) associated with a given privilege number (0 through ACL_PRIVCOUNT - 1). Privilege names associated with privilege numbers 0 through 4 are privilege levels compatible with versions of Notes prior to Release 3 and are enclosed in parenthesis. Privilege names associated with privilege numbers 5 through ACL_PRIVCOUNT - 1 are members of the access role list and are enclosed in brackets.

Parameters :

See Also :

ACLSetPrivName
----------------------------------------------------------------------------------------------------------