FC_UserChangePassword - General Information

Overview

Type:

Function

Available as of:

SystemInterface_1.32.6.0

Versions:

Current version

Task

Modify password of an existing user at the controller.

Description

With this function, the password of an existing user is changed at the controller.

Interface

Input

Data type

Description

i_sUserName

STRING[80]

User name

i_sCurrentPassword

STRING[80]

Old password

i_sNewPassword

STRING[80]

New password

Return Value

Data type

Description

DINT

0: The password of an existing user was successfully modified.

-2: User name invalid. The name string is empty. The string must contain at least one character.

-3: User not exists. Use an existing user or add a user with FC_UserAdd.

-4: Password invalid. The password string is empty.The string must contain at least one character.

-5: Password duplicated. To use an already existing password is not allowed. Use a new password.

-99: Internal error detected. Contact your Schneider Electric representative.