M
Michael D'Angelo
I'm not too familiar with writing regexes. Does anyone have a regex handy
that mirrors the default complexity requirements for AD. I know there are a
few additional reasons a password change could fail, but I'm hoping to at
least save the trouble of trying to change the password for some of the
time. (This is for an ASP.NET site using a modified AD MembershipProvider).
The requirements MS describes are:
The password contains characters from at least three of the following five
categories:
. English uppercase characters (A - Z)
. English lowercase characters (a - z)
. Base 10 digits (0 - 9)
. Non-alphanumeric (For example: !, $, #, or %)
. Unicode characters
I could probably write a regex to require any particular one, but I don't
know how to do the "at least three of the following five categories"
that mirrors the default complexity requirements for AD. I know there are a
few additional reasons a password change could fail, but I'm hoping to at
least save the trouble of trying to change the password for some of the
time. (This is for an ASP.NET site using a modified AD MembershipProvider).
The requirements MS describes are:
The password contains characters from at least three of the following five
categories:
. English uppercase characters (A - Z)
. English lowercase characters (a - z)
. Base 10 digits (0 - 9)
. Non-alphanumeric (For example: !, $, #, or %)
. Unicode characters
I could probably write a regex to require any particular one, but I don't
know how to do the "at least three of the following five categories"