ISPatient.PasswordMatching

Description

This function checks if the specified password matches to the patient's passwords for Accession login during the specified time span.

Syntax

object.PasswordMatching(Value[, aNumToMatch = 1[, aDaysToMatch = 0]])

Part Attribute Type Description
object Required
The object always implements the ISPatient interface
Value In, Required
string
The password to check
aNumToMatch In, Optional
Default value is 1
int
The number of the passwords the specified value can be matched to
aDaysToMatch In, Optional
Default value is 0
int
The time span for matching

Return Value

bool

Returns "True" if the specified password matches to the patient's passwords for Accession login during the specified time span.

Example

Display PasswordMatching for the patient.

Dim aPatient  
Dim aNumToMatch
Dim aDaysToMatch
Dim aPasswordMatching

Set aPatient = Profile.SelectPatient
aNumToMatch = 1
aDaysToMatch = 0
aPasswordMatching = aPatient.PasswordMatching("11", aNumToMatch, aDaysToMatch)
Profile.MsgBox(aPasswordMatching)   
Note:

In Profile Client v8 on User Interface Web Password can be generated in Patient > Alter Patient > Internet > Logon Password field. The function is usually used in Password Validation Macro which can be found in Organisation > Preferences > Aero & Accession > Patient > Security > Validate password macro.

Version information

Added in v7.8.0