removeUserPVSS()
The function permanently disables a user.
Synopsis
bool removeUserPVSS( unsigned userID );
Parameters
| Parameter | Description | 
|---|---|
| userID | WinCC OA user ID of the user who is disabled permanently. | 
Return value
TRUE if the user was successfully disabled and FALSE in case of errors.
Description
The function permanently disables a user. The user is copied from _Users data point to _Deleted_Users data point and the user cannot log in anymore. The user is saved in _Deleted_Users data point to ensure that no UserId is lost.
Example
Disables the WinCC OA user "guest" permanently.
main()
{
  removeUserPVSS(4096);
  //user guest (4096)
}
        Assignment
Availability
CTRL