:ChangePassword()


Class

     aprPOP()

 

Syntax

     :ChangePassword( cUserID, cOldPass, cNewPass, [hSession] ) -> lSuccess

 

Parameters

 

cUserID

User ID on the remote server

 

cOldPass

Existing password for access to the remote server.

 

cNewPass

New password.

 

hSession

Optional: If hSession is not passed, the value in :Session will be used

 

Return

 

Description

The :ChangePassword() method changes the account password for the specified user.

 

The :ChangePassword() method is used to change the password associated with the specified account on the remote system. The method establishes a connection to a seperate service running on the server, and does not use the POP3 protocol. For this function to succeed, the server must be configured to allow password changes using the poppass service, running on port 106.

 

Because passwords are sent over the network as clear text, this service is considered to be insecure.

 

See Also

:Connect(), :Login(), :LoginEx()