RequireAlphaNumeric: Boolean;
The RequireAlphaNumeric property indicates whether minimum one letter, one digit and one non-alphabetic character (_, @, #, $, %, &, *, ^) are mandatory required in a password.
NOTE. This property is outdated, use RequireDigitsAndChars, RequireNonAlphabeticChars.
Sub Main;
Var
MB: IMetabase;
MS: IMetabaseSecurity;
MU: IMetabasePolicy;
PassPol: IMetabasePasswordPolicy;
Begin
MB := MetabaseClass.Active;
MS := MB.Security;
MU := MS.Policy;
PassPol := MU.PasswordPolicy;
PassPol.RequireAlphaNumeric := True;
MS.Apply;
End Sub Main;
After executing the example minimum one letter, one digit and one non-alphabetic character is mandatory required in a new password.
See also: