ISPatient.SetWebPassword

Description

This function sets a new password for the patient to login Accession.

Syntax

object.SetWebPassword(aOldPassword, aNewPassword, aIgnoreWarningsKey)

Part Attribute Type Description
object Required
The object always implements the ISPatient interface
aOldPassword In, Required
string
The old password
aNewPassword In, Required
string
The password to set
aIgnoreWarningsKey In/Out, Required
object&
The parameter is used to determine how to treat warnings

Return Value

ISMacroLog

The returned ISMacroLog interface contains all errors and warnings generated by the password validation macro.

Example

Set a new password for the patient to login Accession and display "True" if the password can be set successfully.

Dim aPatient  
Dim aPasswordMacroLog
Dim aOldPassword
Dim aNewPassword
Dim aIgnoreWarningsKey

Set aPatient = Profile.SelectPatient
aOldPassword = "1" 
aNewPassword = "11"
set aPasswordMacroLog = aPatient.SetWebPassword(aOldPassword, aNewPassword,_ 
 aIgnoreWarningsKey)
aPatient.Save
Profile.MsgBox(aPasswordMacroLog.CanProceed)  
Note:

In Profile Client v8 on User Interface Web Password can be set in Patient > Alter Patient > Internet > Loggon Password field.

Version information

Added in v7.8.0