SoftadminUtil.Password_FulfillsPolicy

Type: Stored procedure

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

Parameters

@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.