delete user privileges assigned by dbAddUserPriv
cc [flag ...] file ...
-kthread -leels [library] ...
int dbDeleteUserPriv( char *host,
char *user );
deletes user privileges added by
The word ``any'' can be used as a wildcard for
the host or user field. For example,
if ``any'' is specified for the user
field, then all privileges are deleted for every user.
This is not advisable because if you delete all database
privileges then no one (not even root) will be able to
(Input) IP/Hostname from which the user is
connecting to the database
(Input) The name of the user that is having
its privileges removed.
dbDeleteUserPriv returns 0 if successful.
Otherwise, it returns -1.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004