Show all Hide all

Validates the password according to the following system settings: PasswordPolicy,
PasswordPolicyRequiresAlphabeticChar, PasswordPolicyRequiresNumericChar, and PasswordPolicyRequiresSpecialChar.

Type: Stored procedure
Area of use: General use


@FulfillsPolicyOut mandatory bit
Output parameter. 1 If the password fulfills the policy, 0 otherwise.
@LanguageId mandatory int
Language to use for the validation message (@ReasonOut).
@Password mandatory nvarchar
The password to validate.
A password that is null fulfills all policies, since in that case it is not possible to log in without using e.g. SSO or Login plugins.
@ReasonOut mandatory nvarchar
Output parameter. Null if the password fulfills the policy. The reason why the password does not fullfill the policy otherwise.