Possible enumeration values:

NameValueDescription
Digit

1

Password must contain a digit.

UpperCase

2

Password must contain an uppercase letter.

LowerCase

4

Password must contain a lowercase letter.

SpecialChar

8

Password must include a non-alphanumeric character.

PasswordDifferentThanUsername

16

Password must include a non-alphanumeric character.

All

31

All rules should be checked.

None

0

No rules should be checked.