DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

dbDeleteDbPriv(3dba)


dbDeleteDbPriv -- delete user privileges assigned on a database level by dbAddDbPriv

Synopsis

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

int dbDeleteDbPriv( char *host, char *user, char *database );

Description

dbDeleteDbPriv deletes user privileges added using dbAddDbPriv(3dba). The word ``any'' can be used as a wildcard for the host, user, or database field.

Arguments


host
(Input) IP/Hostname from which the user is connecting to the database

user
(Input) The name of the user that is having its privileges removed.

database
(Input) The database name.

Return values

dbDeleteDbPriv returns 0 if successful. Otherwise, it returns -1.

References

dbAddDbPriv(3dba), Intro(3dba)


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004