Discuss this help topic in SecureBlackbox Forum


TElSSHServer     See also     

Filter: C#/Java  VB.NET  Pascal  C++  PHP  

This event is fired when the client changed password as OnAuthPassword event required.


    event TSSHAuthPasswordChangeEvent OnAuthPasswordChange;
    delegate void TSSHAuthPasswordChangeEvent(object Sender, string Username, string OldPassword, string NewPassword, ref bool Accept)

    Event OnAuthPasswordChange As TSSHAuthPasswordChangeEvent
    Delegate Sub TSSHAuthPasswordChangeEvent(ByVal Sender As Object, ByVal Username As String, ByVal OldPassword As String, ByVal NewPassword As String, ByRef Accept As Boolean)

    property OnAuthPasswordChange: TSSHAuthPasswordChangeEvent;
    TSSHAuthPasswordChangeEvent = procedure(Sender : TObject; const Username : string; const OldPassword : string; const NewPassword : string; var Accept: boolean) of object;

    void get_OnAuthPasswordChange(TSSHAuthPasswordChangeEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnAuthPasswordChange(TSSHAuthPasswordChangeEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSSHAuthPasswordChangeEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcUsername, int32_t szUsername, const char * pcOldPassword, int32_t szOldPassword, const char * pcNewPassword, int32_t szNewPassword, int8_t &Accept);

    TSSHAuthPasswordChangeEvent|callable|NULL get_OnAuthPasswordChange()
    void set_OnAuthPasswordChange(TSSHAuthPasswordChangeEvent|callable|NULL $Value)
    callable TSSHAuthPasswordChangeEvent(TObject $Sender, string $Username, string $OldPassword, string $NewPassword, bool &$Accept)


  • Username - the name of the client being authenticated
  • OldPassword - old password
  • NewPassword - new password
  • Accept - set this parameter to True if you agree to change the password.
  • pcUsername - the name of the client being authenticated
  • szUsername - the length of pcUsername.
  • pcOldPassword - old password
  • szOldPassword - the length of pcOldPassword.
  • pcNewPassword - new password
  • szNewPassword - the length of pcNewPassword.


    Provides a new password that the user want to use in future.

See also:     OnAuthPasswordChange    

Discuss this help topic in SecureBlackbox Forum