People _people = new People();
_people.Credentials = new System.Net.NetworkCredential("administrator", "xtra");
//
PrincipalInfo[] result = _people.SearchPrincipals(@"ianzhang/administrator", 100, SPPrincipalType.User);
if (result.Length > 0)
{
Response.Write("Email:" + result[0].Email + "<br>");
Response.Write("AccountName" + result[0].AccountName + "<br>");
}