UserMgrUserSetCredentials (FUN)
FUNCTION UserMgrUserSetCredentials : RTS_IEC_RESULT
Set or overwrite the credentials of the user
- InOut:
Scope
Name
Type
Comment
Return
UserMgrUserSetCredentialsRTS_IEC_RESULT- Error code
ERR_OK: Credentials could be set
ERR_PARAMETER: Invalid user name or credentials
ERR_DUPLICATE: The new and the old credentials are the same
ERR_NO_ACCESS_RIGHTS: User not authorized
Input
hUserRTS_IEC_HANDLEHandle to authorized user
Inout Const
pszUserSTRINGUser name, limited to 59 chars
pCredentialsUserMgrCredentialsCredentials, only password is available so far, password (plain text) is limited to 59 chars