public static UserConfiguration GetUserConfiguration(string application, string[] usernames) { //Get the operating enterprise terminal UserConfiguration config = null; try { _Client = new RoadshowServiceClient(); System.ComponentModel.BindingList <string> names = new System.ComponentModel.BindingList <string>(usernames); config = _Client.GetUserConfiguration(application, names); _Client.Close(); } catch (FaultException fe) { throw new ApplicationException("GetUserConfiguration() service error.", fe); } catch (TimeoutException te) { _Client.Abort(); throw new ApplicationException("GetUserConfiguration() timeout error.", te); } catch (CommunicationException ce) { _Client.Abort(); throw new ApplicationException("GetUserConfiguration() communication error.", ce); } return(config); }