I’m attempting to authenticate an Active Directory (AD) user using their username and password. I’ve already configured a user source of type Active Directory. For testing, I’m calling system.security.validateUser() and passing the company username, company password, and the AD user source. However, the method consistently returns false even when I’m certain the credentials are correct.
My question is: does system.security.validateUser() support authentication against an AD user source, given that the method requires the password to be passed directly? Or is this approach inherently incompatible with AD authentication?