C

From Rackspace Email & Apps API
Jump to: navigation, search

public string LoginUserWebmail(string domain,string user)
{
string s="";
int r;

try {
// This calls your SOAP method
r=obj.LoginUserWebmail(reseller_username,reseller_password,domain,user,refs);
  if (r == 1)
    return s;
  else
    return String.Empty;
  } // End of try

catch(Exception ex)
{
  throw new Exception("Biz.EmailService.LoginUserWebmail." + ex.Message);
}
}