Icon GetPassword Method

function GetPassword: Boolean

Usage

Call the GetPassword method to trigger the OnPassword event handler for the session, if one is assigned to the OnPassword event, or display the default password dialog box if an OnPassword event handler is not assigned.

An application can use the return value of the GetPassword method to control program logic. The GetPassword method returns True if a user chooses OK from the default password dialog or the OnPassword event handler sets its Continue parameter to True. The GetPassword method returns False if the user chooses Cancel from the default password dialog or the OnPassword event handler sets its Continue parameter to False.
Image