getUsersInGroupPVSS()

Returns the users for a specific group. The function is obsolete as of WinCC OA version 3.17. The function is, however, available for compatibility reasons. Use the function getSavedUsersByGroupId() instead.

Synopsis

dyn_mapping getUsersInGroupPVSS(unsigned pvssGroupID);

Parameter

Parameter Description
pvssGroupID

The WinCC OA group ID:

//0 = root

//1 = PARA

//2 = operatorAll

//3 = operator

//4 = guest

//5 = your own user groups....

Return value

The users for the specific group.

Description

Returns the users for a specific group. The function returns a dyn_mapping that contains all users of the specified group. The mapping contains the keys: "OSID", "Name", PVSSID" and "Disabled".

Example

Returns the users of the group "guest";.

main()
{
  unsigned pvssGroupId = 4;
  //0 = root
  //1 =  PARA
  //2 = operatorAll
  //3 = operator
  //4 = guest
  dyn_mapping usGroups;
  DebugN(usGroups = getUsersInGroupPVSS(pvssGroupId));
}

Assignment

User administration

Available

CTRL