Snippets
19

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;
 }

}

Post Rating

Comments

There are currently no comments, be the first to post one!

Post Comment

Only registered users may post comments.

  120 OLD FREEMANS WAY, BREWSTER, MA 02631
  P. O. BOX 2342, BREWSTER, MA 02631
  (774) 323-3176
  CONTACT US