getUserDataByNamePVSS()

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

Synopsis

mapping getUserDataByNamePVSS(string userName);

Parameters

Parameter Description
userName The user name of a WinCC OA user.

Return value

User data for a WinCC OA user.

Description

Returns user data for a WinCC OA user by name. The following data will be returned:

User data Description
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.

Example

Returns the user data for the WinCC OA user "gast"; by name.

main()
{
  mapping m;
  m = getUserDataByNamePVSS("gast");
  DebugN("User data:", m);
}

Assignment

User administration

Availability

CTRL