I need to check if the password for an user that will be created later on in an installation process will be valid. That is, whether it will conform to the OS validation rules. Is there an API call to check if a given password will be valid? This is on Windows
Share
You’re looking for
NetValidatePasswordPolicyfunction.This can check against the local OS password policy too.