getAllUsersPVSS()

Returns all WinCC OA users as well as the user data. The function is obsolete as of WinCC OA version 3.17. The function is, however, available for compatibility reasons. Use the function getAllSavedUsers() instead.

Synopsis

dyn_mapping getAllUsersPVSS();

Parameters

Parameter Description
-

Return value

All WinCC OA users and the user data.

Description

Returns all WinCC OA users as well as the user data. The function returns a mapping. The following user data is returned:

User data Description
Comment The description that is specified in the user administration.
Name The user name
Disabled Shows whether the user is disabled (1) or enabled (0).
PVSSID The WinCC OA user ID (remains unchanged for backwards compatibility).
OSID Operating system ID of the user.
FullName The full user name that is specified in the user administration.
PVSSGROUPID The ID of the WinCC OA groups the user is member of.

Example

Returns all WinCC OA users.

main()
{
  dyn_mapping u;
  DebugN("The WinCC OA users:",u =
  getAllUsersPVSS());
}

Assignment

User administration

Availability

CTRL