Login  Register 
Home
 
Applications
 
Consulting
 
Design
 
Business Links
 
Support
 
Contact
  Search
Search
 
 SupportKnowledge Base     May 17, 2012  
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.
 

P.O. BOX 2342 ~ BREWSTER, MA 02631
PHONE & FAX: (508) 714-0678

 
 Copyright 2012 by Global Internet Business Solutions   Terms Of Use  Privacy Statement