PreviousDTI Programmer's Guide (v10) Next

PvDropGroup()

Chapter contents

Drop an existing group from the database.

Header file: DDF.H
Requires: W3DBAV90.DLL

Syntax

PRESULT DDFAPICALLTYPE PvDropGroup( 
	BTI_WORD            dbHandle, 
	const BTI_CHAR*     group); 

Arguments

In
dbHandle
Handle of an open database returned by PvOpenDatabase().
In
group
Database group name.

Return Values

PCM_Success
The operation was successful.
PCM_errFailed
The operation was not successful.
PCM_errInvalidAccountName
The specified group name does not exist.
PCM_errDatabaseHasNoSecurity
Database has no security
PCM_errSessionSecurityError
Database opened with insufficient privilege
PCM_errGroupNotEmpty
An user is associated with this group

Remarks

The following preconditions must be met:

The following post condition must be met:

See Also

PvCreateGroup()
PvAddUserToGroup()
PvRemoveUserFromGroup()
PvDropUser()
PvOpenDatabase()
PvCloseDatabase()


Chapter contents
Book contents

Prev topic: PvDropDatabase()
Next topic: PvDropIndex()