removeGroupPVSS()

Removes a WinCC OA group.

Synopsis

bool removeGroupPVSS( unsigned groupID);

Parameters

Parameter Description
pvssGroupID

The WinCC OA group ID of the group that is removed.

//0 = root

//1 = PARA

//2 = operatorAll

//3 = operator

//4 = guest

//5 or greater values can be used for your own WinCC OA groups.

Return value

The function returns true if a group was successfully removed and otherwise false

Description

Removes a WinCC OA group. The group is removed from all users that are part of this group. The user permissions are recalculated.

Example

Removes the self-created WinCC OA group "OperatorWinCCOA" with the ID 6.

main()


{


  bool g;


  g = removeGroupPVSS(6);


  //removes the self-created group OperatorWinCCOA


  DebugN("Group removed:", g);


}

Assignment

User administration

Availability

CTRL