IMetabasePasswordPolicy.RequireDifferentLetterCase

Syntax

RequireDifferentLetterCase: Boolean;

Description

The RequireDifferentLetterCase property determines whether a password with letters of a different letter case is required.

Example

To execute the example, add a link to the Metabase system assembly.

Sub UserProc;
Var
    MB: IMetabase;
    MS: IMetabaseSecurity;
    MU: IMetabasePolicy;
    PassPol: IMetabasePasswordPolicy;
    Lic: Object;
Begin
    MB := MetabaseClass.Active;
    
// Check out license to work with security manager
    Lic := MB.RequestLicense(UiLicenseFeatureType.Adm);
    MS := MB.Security;
    MU := MS.Policy;
    PassPol := MU.PasswordPolicy;
    
// Prohibit the use letters of the same case in password
    PassPol.RequireDifferentLetterCase := True;
    
// Save changes
    MS.Apply;
    
// Check in license
    Lic := Null;
End Sub UserProc;

After executing the example the use of letters with the same case is prohibited in password.

See also:

IMetabasePasswordPolicy