validatePassword()

Overview

public boolean function validatePassword(
      required string password
    ,          string userId  
)

Validates the supplied password against the a user (defaults to currently logged in user)

Arguments

NameTypeRequiredDescription
passwordstringYesThe user supplied password
userIdstringNoThe id of the user whose password we are to validate. Defaults to the currently logged in user.