1. Set user credentials. Code snippet to set credentials, that is, the user name and password. // setup EMsgAPI object - EM Fax.EMsgAPI_JobSubmit201101.JobSubmitService EM = new Fax.EMsgAPI_JobSubmit201101.JobSubmitService(); // setup Authentication objects EMsgAPI_JobSubmit201101.RequestAuthentication reqAuth = new EMsgAPI_JobSubmit201101.RequestAuthentication(); EMsgAPI_JobSubmit201101.XDDSAuthType XDDSAuth = new EMsgAPI_JobSubmit201101.XDDSAuthType(); EMsgAPI_JobSubmit201101.UIDType uid = new EMsgAPI_JobSubmit201101.UIDType(); // init Authentication objects XDDSAuth.Password = "password"; uid.Value = "userid"; XDDSAuth.RequesterID = uid; reqAuth.Item = XDDSAuth;
Code snippet to set credentials, that is, the user name and password.
Version 1.0