setUserEnabledPVSS()

Enables the user.

Synopsis

bool setUserEnabledPVSS(unsigned pvssUserID, bool userState);

Parameters

Parameter Description
pvssUserID The WinCC OA user ID
userState

TRUE = enables the user

FALSE = disables the use.

Return value

Errors

TRUE if the function enabled the user successfully. In case of errors FALSE.

Description

Enables the user.

Example

Enables the user demo.

main()
{
  bool us;
  us = setUserEnabledPVSS(4098, TRUE);
  DebugN("us");
}

Assignment

User administration

Availability

CTRL