'Declaration
Public Function ValidateLoginCredentials( _ ByVal UserID As String, _ ByVal Password As String, _ ByRef messages As MessageCollection _ ) As Boolean
Parameters
- UserID
- The Windows account user ID (including domain if appropriate).
- Password
- The Windows account password.
- messages
- On return, contains error message(s) if validation failed.
Return Value
True if the credentials are valid; False otherwise.