Check to verify if an e-mail address has been previously registered:
public bool LookupEmail(string EmailAddress)
{ try { int intRecords = 0;
ArrayList u = new ArrayList();
u = UserController.GetUsersByEmail(this.PortalId, EmailAddress, 0, 1, ref intRecords);
if (u.Count > 0) { return true; } else { return false; } } catch (Exception ex) { Exceptions.ProcessModuleLoadException(this, ex); return false; }
}
120 OLD FREEMANS WAY, BREWSTER, MA 02631 MAILING: P.O. BOX 2342, BREWSTER, MA 02631 PHONE (774) 323-3176