setUserNamePVSS() - deprecated
Use the function UserManagementBaseType::setFullName() instead!
Sets the name of a WinCC OA user.
Synopsis
bool setUserNamePVSS(unsigned pvssUserID, string userName, langString
userFullName, langString userComment);
Parameters
Parameter | Description |
---|---|
pvssUserID | WinCC OA user ID |
userName | WinCC OA User name |
userFullName | Full user name |
userComment | Comment for the user |
Return value
TRUE if the name was successfully set. In case of errors FALSE.
Description
Sets the name of a WinCC OA user.
EXAMPLe
Sets the name of the WinCC OA user "Demo" (User ID 4098) to "NewDemo", the full name to "New Demo User" and the description to "The WinCC OA Demo User".
main()
{
setUserNamePVSS(4098,"NewDemo", "New Demo User","The WinCC OA Demo User");
}
Assignment
User administration
Availability
CTRL