Skip to content

PasswordValdationResult

PasswordValdationResult is a simple result object returned by clsPassword.IsValid that carries the validation outcome and any associated error messages. The class name preserves the original source spelling (Vald rather than Valid).

Purpose

  • Carry the result of a password validation check including a pass/fail indicator and a list of validation failure messages.*

Context

  • Namespace: SAIF.Business.External.Users*
  • Assembly/package: SAIF.BOF.Business.External.Users
  • Defined in: clsPassword.vb

Public members

Member Signature Purpose
IsValid Public Property IsValid As Boolean Gets or sets the is valid.*
Messages Public Property Messages As IList(Of String) Gets or sets the messages.*
New Public Sub New() Initializes a new instance of PasswordValdationResult.*

Behavioral notes

  • Returned by clsPassword.IsValid(password, userId, firstName, lastName) after applying all password strength rules.*
  • An empty Messages list indicates a fully valid password.*

Constraints and usage notes

  • This is a plain data-transfer object with no BOF framework base class; it does not participate in the IBusinessCriteria lifecycle.*

Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts.

Sources

  • Business\SAIF.Business.External.Users\clsPassword.vb