|
Creates a new user in the existing database. Optionally set a password and assign the new user to an existing group.
Header file: DDF.HRequires: W3DBAV90.DLL
PRESULT DDFAPICALLTYPE PvCreateUser( BTI_WORD dbHandle, const BTI_CHAR* user, const BTI_CHAR* password, const BTI_CHAR* group);
|
In
|
dbHandle
|
Handle of an open database returned by PvOpenDatabase().
|
|
In
|
user
|
Database user name.
|
|
In
|
password
|
User password. If set to NULL, no password is set.
|
|
In
|
group
|
Database group name for user. If set to NULL, user is not assigned to a group.
|
The following preconditions must be met:
The following post condition must be met:
PvAlterUserName()
PvAlterUserPassword()
PvAddUserToGroup()
PvRemoveUserFromGroup()
PvCreateGroup()
PvDropUser()
PvOpenDatabase()
PvCloseDatabase()
|
Chapter contents
Prev topic: PvCreateGroup()
|