DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

dbPrivStr(3dba)


dbPrivStr -- return a printable string based on a privilege bitmask

Synopsis

cc [flag ...] file ... -kthread -leels [library] ...
#include <eelsdba.h>

char *dbPrivsStr(unsigned int privs);

Description

dbPrivStr returns a printable string based on a privilege bitmask. Use this routine to print out privileges in a human readable form. This can be used in conjunction with the dbGetdbPriv(3dba) and dbGetUserPriv(3dba) routines to print out user privileges.

Arguments


privs
(Input) A privilege bitmask such as the one passed to dbAddUserPriv(3dba).

Return values

On success dbGetUserPriv returns a printable string representing the privilege bitmask. On failure it returns NULL.

References

dbAddUserPriv(3dba), dbGetdbPriv(3dba), dbGetUserPriv(3dba), Intro(3dba)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004