Discuss this help topic in SecureBlackbox Forum

TElSSHBaseClient.OnPasswordChangeRequest

TElSSHBaseClient     See also     


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


This event is fired when password change is requested.

Declaration

[C#]
    event TSSHPasswordChangeRequestEvent OnPasswordChangeRequest;
    delegate void TSSHPasswordChangeRequestEvent(Object Sender, string Prompt, ref string NewPassword, ref bool Cancel);

[VB.NET]
    Event OnPasswordChangeRequest As TSSHPasswordChangeRequestEvent
    Delegate Sub TSSHPasswordChangeRequestEvent(ByVal Sender As Object, ByVal Prompt As String, ByRef NewPassword As String, ByRef Cancel As Boolean)

[Pascal]
    property OnPasswordChangeRequest : TSSHPasswordChangeRequestEvent;
    TSSHPasswordChangeRequestEvent = procedure(Sender : TObject; const Prompt : string; var NewPassword : string; var Cancel : boolean) of object;

[C++]
    void get_OnPasswordChangeRequest(TSSHPasswordChangeRequestEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnPasswordChangeRequest(TSSHPasswordChangeRequestEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSSHPasswordChangeRequestEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcPrompt, int32_t szPrompt, char * pcNewPassword, int32_t &szNewPassword, int8_t &Cancel);

[PHP]
    TSSHPasswordChangeRequestEvent|callable|NULL get_OnPasswordChangeRequest()
    void set_OnPasswordChangeRequest(TSSHPasswordChangeRequestEvent|callable|NULL $Value)
    callable TSSHPasswordChangeRequestEvent(TObject $Sender, string $Prompt, string &$NewPassword, bool &$Cancel)

[Java]
    TSSHPasswordChangeRequestEvent getOnPasswordChangeRequest();
    void setOnPasswordChangeRequest(TSSHPasswordChangeRequestEvent Value);
    TSSHPasswordChangeRequestEvent.Callback OnPasswordChangeRequest = new TSSHPasswordChangeRequestEvent.Callback() {
        public void TSSHPasswordChangeRequestEventCallback(TObject Sender, String Prompt, TSBString NewPassword, TSBBoolean Cancel) {
            //...
        }
    }

Parameters

  • Prompt - password change prompt.
  • NewPassword - new password shall be supplied via this parameter.
  • Cancel - specifies whether to cancel the request.
  • pcPrompt - password change prompt.
  • szPrompt - the length of pcPrompt.
  • pcNewPassword - new password shall be supplied via this parameter.
  • szNewPassword - the length of pcNewPassword.

Description

This event is fired by TElSSHBaseClient if password change is requested by the server, or asked by the client. User should either provide new password via NewPassword parameter, or cancel the request.

See also:     RequestPasswordChange    

Discuss this help topic in SecureBlackbox Forum