FUNCTION UserMgrChangeMyPassword : RTS_IEC_RESULT
Changes the users password
InOut:
|
Scope
|
Name
|
Type
|
Comment
|
Return
|
UserMgrChangeMyPassword
|
RTS_IEC_RESULT
|
Error code
|
-
ERR_OK: Password changed successfully
-
ERR_NOTINITIALIZED: The user management is not initialized or it is not loaded yet
-
ERR_OPERATION_DENIED: Password change is either not supported or not allowed
-
ERR_USER_MISMATCH: User name does not match
-
ERR_INVALID_HANDLE: hUser is invalid or unknown
|
|
Input
|
hUser
|
RTS_IEC_HANDLE
|
Handle to the user
|
pszUser
|
REFERENCE TO STRING
|
Name of the user, limited to 59 chars
|
pszOldPassword
|
REFERENCE TO STRING
|
Old password (plain text), limited to 59 chars
|
pszNewPassword
|
REFERENCE TO STRING
|
New password (plain text), limited to 59 chars
|
|