ISProvider.PasswordMatching

Description

This function checks if the specified password matches to the provider'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 ISProvider 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 provider's passwords for Accession login during the specified time span.

Example

Display PasswordMatching for the provider.

Dim aProvider
Dim aNumToMatch
Dim aDaysToMatch
Dim aMessage

aNumToMatch = 1
aDaysToMatch = 0

Set aProvider = Profile.LoadProvider("VE3")

aMessage = aMessage & vbNewLine & "True if the specified password matches to " &_
  "the provider's (" & aProvider.FullName &  ") passwords for Accession login = " &_
  aProvider.PasswordMatching ("NewPassword123", aNumToMatch, aDaysToMatch)
    
Profile.MsgBox (aMessage)  
Note:

In Profile Client v8 on User Interface Password Matching cannot be found. The function is usually used in Password Validation Macro which can be found in Organisation > Preferences > Aero & Accession > Provider > Security > Validate password macro.

Version information

Added in v7.8.0