Exemplo n.º 1
0
        public static bool ValidateUser(string username, string password)
        {
            return(Provider.ValidateUser(username, password));

            /*
             * if (retVal) {
             *  PerfCounters.IncrementCounter(AppPerfCounter.MEMBER_SUCCESS);
             *  WebBaseEvent.RaiseSystemEvent(null, WebEventCodes.AuditMembershipAuthenticationSuccess, username);
             * }
             * else {
             *  PerfCounters.IncrementCounter(AppPerfCounter.MEMBER_FAIL);
             *  WebBaseEvent.RaiseSystemEvent(null, WebEventCodes.AuditMembershipAuthenticationFailure, username);
             * }
             *
             * return retVal;
             */
        }
Exemplo n.º 2
0
 public static bool ValidateUser(string username, string password)
 {
     return(Provider.ValidateUser(username, password));
 }