|
Alters an existing user's name in the specified database.
Header file: DDF.HRequires: W3DBAV90.DLL
PRESULT DDFAPICALLTYPE PvAlterUserName( BTI_WORD dbHandle, const BTI_CHAR* user, const BTI_CHAR* newName);
|
In
|
dbHandle
|
Handle of an open database returned by PvOpenDatabase().
|
|
In
|
user
|
Database user name.
|
|
In
|
newName
|
New name for the database user. If set to NULL, the function fails.
|
This function will fail if newName is set to NULL, or if newName is already present in the database.
The following preconditions must be met:
The following post condition must be met:
PvAlterUserPassword()
PvAddUserToGroup()
PvRemoveUserFromGroup()
PvCreateUser()
PvDropUser()
PvOpenDatabase()
PvCloseDatabase()
|
Chapter contents
Prev topic: PvAddUserToGroup()
|