usingSystem;usingERPConnect;usingERPConnect.Utils;// Set your ERPConnect licenseLIC.SetLic("xxxx");// Open the connection to SAPusingvarconnection=newR3Connection(host:"server.acme.org",systemNumber:00,userName:"user",password:"passwd",language:"EN",client:"001"){Protocol=ClientProtocol.NWRFC,};connection.Open();RFCFunctionfunc=connection.CreateFunction("BAPI_USER_CHANGE");Console.WriteLine("Please type user's name to reset password");stringUserName=Console.ReadLine();func.Exports["USERNAME"].ParamValue=UserName;func.Exports["PASSWORD"].ToStructure()["BAPIPWD"]="init01";func.Exports["PASSWORDX"].ToStructure()["BAPIPWD"]="X";func.Execute();foreach(RFCStructureretrowinfunc.Tables["RETURN"].Rows)Console.WriteLine(retrow["MESSAGE"].ToString());connection.Close();Console.WriteLine("");Console.WriteLine("Press enter to quit.");Console.ReadLine();