getUserDataPVSS()

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

Synopsis

mapping getUserDataPVSS(unsigned pvssUserID);

Parameters

Parameter Description
pvssUserID The user ID

Return value

User data for a WinCC OA user.

Description

Returns user data for a WinCC OA user. The function returns a mapping. The following user data will be 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.
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 user data for the WinCC OA user "gast".

main()
{
  mapping m = getUserDataPVSS(4097);
  DebugN("User info ", m);
}

Assignment

User administration

Availability

CTRL