|
Adds an existing user to an existing group in the database.
Header file: DDF.HRequires: W3DBAV90.DLL
PRESULT DDFAPICALLTYPE PvAddUserToGroup(BTI_WORDdbHandle,const BTI_CHAR*user,const BTI_CHAR*group);
|
In
|
dbHandle
|
Handle of an open database returned by PvOpenDatabase().
|
|
In
|
group
|
Database group name
|
|
In
|
user
|
Database user name
|
This function will fail if the specified group or user do not already exist in the database, or if the user is a member of another group.
The following preconditions must be met:
The following post condition must be met:
PvAlterUserName()
PvCreateGroup()
PvCreateUser()
PvDropGroup()
PvDropUser()
PvRemoveUserFromGroup()
PvOpenDatabase()
PvCloseDatabase()
|
Chapter contents
Prev topic: PvAddTable()
|