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
| Name | Type | Required | Description | 
|---|---|---|---|
| password | string | Yes | The user supplied password | 
| userId | string | No | The id of the user whose password we are to validate. Defaults to the currently logged in user. |