renameGroupPVSS()
Renames a WinCC OA user group.
Synopsis
bool renameGroupPVSS(unsigned pvssGroupID, string groupName, langString
groupFullName = "", langString groupComment="");
Parameters
Parameter | Description |
---|---|
pvssGroupID |
The WinCC OA group ID. //0 = root //1 = PARA //2 = operatorAll //3 = operator //4 = guest //5 = your own WinCC OA user groups. |
groupName | The new name of the group. |
groupFullName | The full name of the group. |
groupComment | The comment for the group. |
Return value
Renames a WinCC OA user group.
Error
TRUE if the function renamed the group successfully. In case of errors FALSE.
Description
Renames a WinCC OA user group.
Example
Renames the group "Gast" (Id 4) to "Guest".
main()
{
bool r;
r = renameGroupPVSS(4,"Guest", "Guest","New group guest");
DebugN(r);
}
Assignment
User administration
Availability
CONTROL