renameUserPVSS()
Renames a WinCC OA user.
Synopsis
bool renameUserPVSS(unsigned pvssUserID, string userName, langString
userFullName = "", langString userComment="");
Parameters
Parameter | Description |
---|---|
pvssUserID | The WinCC OA user ID. |
userName | The new user name. |
userFullName | The new full name of the user. |
userComment | The comment of the user. |
Return value
Renames a WinCC OA user.
Error
TRUE if the function renamed the user successfully. In case of errors FALSE.
Description
Renames a WinCC OA user.
Example
Renames the user "demo" (Id 4098) to "Test".
main()
{
bool r;
r = renameUserPVSS (4098,"Test", "Test","New user name
Test");
DebugN(r);
}
Assignment
User administration
Availability
CONTROL