//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:2.0.50727.42
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

// 
// This source code was auto-generated by Microsoft.VSDesigner, Version 2.0.50727.42.
// 
#pragma warning disable 1591

namespace localhost {
    using System.Diagnostics;
    using System.Web.Services;
    using System.ComponentModel;
    using System.Web.Services.Protocols;
    using System;
    using System.Xml.Serialization;
    using System.Data;
    
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name="CasUsersSoap", Namespace="Users.Cas.jhu.edu")]
    public partial class CasUsers : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        private System.Threading.SendOrPostCallback CreateAccountOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetWebServiceIdOperationCompleted;
        
        private System.Threading.SendOrPostCallback ForgotPasswordOperationCompleted;
        
        private System.Threading.SendOrPostCallback UpdateAccountOperationCompleted;
        
        private System.Threading.SendOrPostCallback FindUserDataSetOperationCompleted;
        
        private System.Threading.SendOrPostCallback FindUserOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetUniqueUserIdOperationCompleted;
        
        private System.Threading.SendOrPostCallback UploadDataSetOperationCompleted;
        
        private System.Threading.SendOrPostCallback HasMyDBOperationCompleted;
        
        private bool useDefaultCredentialsSetExplicitly;
        
        /// <remarks/>
        public CasUsers() {
            this.Url = "http://localhost/casjobs/casusers.asmx";
            if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
                this.UseDefaultCredentials = true;
                this.useDefaultCredentialsSetExplicitly = false;
            }
            else {
                this.useDefaultCredentialsSetExplicitly = true;
            }
        }
        
        public new string Url {
            get {
                return base.Url;
            }
            set {
                if ((((this.IsLocalFileSystemWebService(base.Url) == true) 
                            && (this.useDefaultCredentialsSetExplicitly == false)) 
                            && (this.IsLocalFileSystemWebService(value) == false))) {
                    base.UseDefaultCredentials = false;
                }
                base.Url = value;
            }
        }
        
        public new bool UseDefaultCredentials {
            get {
                return base.UseDefaultCredentials;
            }
            set {
                base.UseDefaultCredentials = value;
                this.useDefaultCredentialsSetExplicitly = true;
            }
        }
        
        /// <remarks/>
        public event CreateAccountCompletedEventHandler CreateAccountCompleted;
        
        /// <remarks/>
        public event GetWebServiceIdCompletedEventHandler GetWebServiceIdCompleted;
        
        /// <remarks/>
        public event ForgotPasswordCompletedEventHandler ForgotPasswordCompleted;
        
        /// <remarks/>
        public event UpdateAccountCompletedEventHandler UpdateAccountCompleted;
        
        /// <remarks/>
        public event FindUserDataSetCompletedEventHandler FindUserDataSetCompleted;
        
        /// <remarks/>
        public event FindUserCompletedEventHandler FindUserCompleted;
        
        /// <remarks/>
        public event GetUniqueUserIdCompletedEventHandler GetUniqueUserIdCompleted;
        
        /// <remarks/>
        public event UploadDataSetCompletedEventHandler UploadDataSetCompleted;
        
        /// <remarks/>
        public event HasMyDBCompletedEventHandler HasMyDBCompleted;
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("Users.Cas.jhu.edu/CreateAccount", RequestNamespace="Users.Cas.jhu.edu", ResponseNamespace="Users.Cas.jhu.edu", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public long CreateAccount(long wsid, string userid, string name, string email, string password, string privileges, int emaillevel) {
            object[] results = this.Invoke("CreateAccount", new object[] {
                        wsid,
                        userid,
                        name,
                        email,
                        password,
                        privileges,
                        emaillevel});
            return ((long)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginCreateAccount(long wsid, string userid, string name, string email, string password, string privileges, int emaillevel, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("CreateAccount", new object[] {
                        wsid,
                        userid,
                        name,
                        email,
                        password,
                        privileges,
                        emaillevel}, callback, asyncState);
        }
        
        /// <remarks/>
        public long EndCreateAccount(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((long)(results[0]));
        }
        
        /// <remarks/>
        public void CreateAccountAsync(long wsid, string userid, string name, string email, string password, string privileges, int emaillevel) {
            this.CreateAccountAsync(wsid, userid, name, email, password, privileges, emaillevel, null);
        }
        
        /// <remarks/>
        public void CreateAccountAsync(long wsid, string userid, string name, string email, string password, string privileges, int emaillevel, object userState) {
            if ((this.CreateAccountOperationCompleted == null)) {
                this.CreateAccountOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateAccountOperationCompleted);
            }
            this.InvokeAsync("CreateAccount", new object[] {
                        wsid,
                        userid,
                        name,
                        email,
                        password,
                        privileges,
                        emaillevel}, this.CreateAccountOperationCompleted, userState);
        }
        
        private void OnCreateAccountOperationCompleted(object arg) {
            if ((this.CreateAccountCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.CreateAccountCompleted(this, new CreateAccountCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("Users.Cas.jhu.edu/GetWebServiceId", RequestNamespace="Users.Cas.jhu.edu", ResponseNamespace="Users.Cas.jhu.edu", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public long GetWebServiceId(string userid, string password) {
            object[] results = this.Invoke("GetWebServiceId", new object[] {
                        userid,
                        password});
            return ((long)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginGetWebServiceId(string userid, string password, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("GetWebServiceId", new object[] {
                        userid,
                        password}, callback, asyncState);
        }
        
        /// <remarks/>
        public long EndGetWebServiceId(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((long)(results[0]));
        }
        
        /// <remarks/>
        public void GetWebServiceIdAsync(string userid, string password) {
            this.GetWebServiceIdAsync(userid, password, null);
        }
        
        /// <remarks/>
        public void GetWebServiceIdAsync(string userid, string password, object userState) {
            if ((this.GetWebServiceIdOperationCompleted == null)) {
                this.GetWebServiceIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetWebServiceIdOperationCompleted);
            }
            this.InvokeAsync("GetWebServiceId", new object[] {
                        userid,
                        password}, this.GetWebServiceIdOperationCompleted, userState);
        }
        
        private void OnGetWebServiceIdOperationCompleted(object arg) {
            if ((this.GetWebServiceIdCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetWebServiceIdCompleted(this, new GetWebServiceIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("Users.Cas.jhu.edu/ForgotPassword", RequestNamespace="Users.Cas.jhu.edu", ResponseNamespace="Users.Cas.jhu.edu", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string ForgotPassword(long wsid, string id) {
            object[] results = this.Invoke("ForgotPassword", new object[] {
                        wsid,
                        id});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginForgotPassword(long wsid, string id, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("ForgotPassword", new object[] {
                        wsid,
                        id}, callback, asyncState);
        }
        
        /// <remarks/>
        public string EndForgotPassword(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void ForgotPasswordAsync(long wsid, string id) {
            this.ForgotPasswordAsync(wsid, id, null);
        }
        
        /// <remarks/>
        public void ForgotPasswordAsync(long wsid, string id, object userState) {
            if ((this.ForgotPasswordOperationCompleted == null)) {
                this.ForgotPasswordOperationCompleted = new System.Threading.SendOrPostCallback(this.OnForgotPasswordOperationCompleted);
            }
            this.InvokeAsync("ForgotPassword", new object[] {
                        wsid,
                        id}, this.ForgotPasswordOperationCompleted, userState);
        }
        
        private void OnForgotPasswordOperationCompleted(object arg) {
            if ((this.ForgotPasswordCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.ForgotPasswordCompleted(this, new ForgotPasswordCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("Users.Cas.jhu.edu/UpdateAccount", RequestNamespace="Users.Cas.jhu.edu", ResponseNamespace="Users.Cas.jhu.edu", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public bool UpdateAccount(long wsid, User user) {
            object[] results = this.Invoke("UpdateAccount", new object[] {
                        wsid,
                        user});
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginUpdateAccount(long wsid, User user, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("UpdateAccount", new object[] {
                        wsid,
                        user}, callback, asyncState);
        }
        
        /// <remarks/>
        public bool EndUpdateAccount(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public void UpdateAccountAsync(long wsid, User user) {
            this.UpdateAccountAsync(wsid, user, null);
        }
        
        /// <remarks/>
        public void UpdateAccountAsync(long wsid, User user, object userState) {
            if ((this.UpdateAccountOperationCompleted == null)) {
                this.UpdateAccountOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateAccountOperationCompleted);
            }
            this.InvokeAsync("UpdateAccount", new object[] {
                        wsid,
                        user}, this.UpdateAccountOperationCompleted, userState);
        }
        
        private void OnUpdateAccountOperationCompleted(object arg) {
            if ((this.UpdateAccountCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.UpdateAccountCompleted(this, new UpdateAccountCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("Users.Cas.jhu.edu/FindUserDataSet", RequestNamespace="Users.Cas.jhu.edu", ResponseNamespace="Users.Cas.jhu.edu", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public System.Data.DataSet FindUserDataSet(long wsid, string predicate) {
            object[] results = this.Invoke("FindUserDataSet", new object[] {
                        wsid,
                        predicate});
            return ((System.Data.DataSet)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginFindUserDataSet(long wsid, string predicate, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("FindUserDataSet", new object[] {
                        wsid,
                        predicate}, callback, asyncState);
        }
        
        /// <remarks/>
        public System.Data.DataSet EndFindUserDataSet(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((System.Data.DataSet)(results[0]));
        }
        
        /// <remarks/>
        public void FindUserDataSetAsync(long wsid, string predicate) {
            this.FindUserDataSetAsync(wsid, predicate, null);
        }
        
        /// <remarks/>
        public void FindUserDataSetAsync(long wsid, string predicate, object userState) {
            if ((this.FindUserDataSetOperationCompleted == null)) {
                this.FindUserDataSetOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFindUserDataSetOperationCompleted);
            }
            this.InvokeAsync("FindUserDataSet", new object[] {
                        wsid,
                        predicate}, this.FindUserDataSetOperationCompleted, userState);
        }
        
        private void OnFindUserDataSetOperationCompleted(object arg) {
            if ((this.FindUserDataSetCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.FindUserDataSetCompleted(this, new FindUserDataSetCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("Users.Cas.jhu.edu/FindUser", RequestNamespace="Users.Cas.jhu.edu", ResponseNamespace="Users.Cas.jhu.edu", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public User[] FindUser(long wsid, string predicate) {
            object[] results = this.Invoke("FindUser", new object[] {
                        wsid,
                        predicate});
            return ((User[])(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginFindUser(long wsid, string predicate, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("FindUser", new object[] {
                        wsid,
                        predicate}, callback, asyncState);
        }
        
        /// <remarks/>
        public User[] EndFindUser(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((User[])(results[0]));
        }
        
        /// <remarks/>
        public void FindUserAsync(long wsid, string predicate) {
            this.FindUserAsync(wsid, predicate, null);
        }
        
        /// <remarks/>
        public void FindUserAsync(long wsid, string predicate, object userState) {
            if ((this.FindUserOperationCompleted == null)) {
                this.FindUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFindUserOperationCompleted);
            }
            this.InvokeAsync("FindUser", new object[] {
                        wsid,
                        predicate}, this.FindUserOperationCompleted, userState);
        }
        
        private void OnFindUserOperationCompleted(object arg) {
            if ((this.FindUserCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.FindUserCompleted(this, new FindUserCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("Users.Cas.jhu.edu/GetUniqueUserId", RequestNamespace="Users.Cas.jhu.edu", ResponseNamespace="Users.Cas.jhu.edu", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string GetUniqueUserId(string userid) {
            object[] results = this.Invoke("GetUniqueUserId", new object[] {
                        userid});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginGetUniqueUserId(string userid, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("GetUniqueUserId", new object[] {
                        userid}, callback, asyncState);
        }
        
        /// <remarks/>
        public string EndGetUniqueUserId(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void GetUniqueUserIdAsync(string userid) {
            this.GetUniqueUserIdAsync(userid, null);
        }
        
        /// <remarks/>
        public void GetUniqueUserIdAsync(string userid, object userState) {
            if ((this.GetUniqueUserIdOperationCompleted == null)) {
                this.GetUniqueUserIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetUniqueUserIdOperationCompleted);
            }
            this.InvokeAsync("GetUniqueUserId", new object[] {
                        userid}, this.GetUniqueUserIdOperationCompleted, userState);
        }
        
        private void OnGetUniqueUserIdOperationCompleted(object arg) {
            if ((this.GetUniqueUserIdCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetUniqueUserIdCompleted(this, new GetUniqueUserIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("Users.Cas.jhu.edu/UploadDataSet", RequestNamespace="Users.Cas.jhu.edu", ResponseNamespace="Users.Cas.jhu.edu", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public void UploadDataSet(long wsid, string tableName, System.Data.DataSet dataSet) {
            this.Invoke("UploadDataSet", new object[] {
                        wsid,
                        tableName,
                        dataSet});
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginUploadDataSet(long wsid, string tableName, System.Data.DataSet dataSet, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("UploadDataSet", new object[] {
                        wsid,
                        tableName,
                        dataSet}, callback, asyncState);
        }
        
        /// <remarks/>
        public void EndUploadDataSet(System.IAsyncResult asyncResult) {
            this.EndInvoke(asyncResult);
        }
        
        /// <remarks/>
        public void UploadDataSetAsync(long wsid, string tableName, System.Data.DataSet dataSet) {
            this.UploadDataSetAsync(wsid, tableName, dataSet, null);
        }
        
        /// <remarks/>
        public void UploadDataSetAsync(long wsid, string tableName, System.Data.DataSet dataSet, object userState) {
            if ((this.UploadDataSetOperationCompleted == null)) {
                this.UploadDataSetOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUploadDataSetOperationCompleted);
            }
            this.InvokeAsync("UploadDataSet", new object[] {
                        wsid,
                        tableName,
                        dataSet}, this.UploadDataSetOperationCompleted, userState);
        }
        
        private void OnUploadDataSetOperationCompleted(object arg) {
            if ((this.UploadDataSetCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.UploadDataSetCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("Users.Cas.jhu.edu/HasMyDB", RequestNamespace="Users.Cas.jhu.edu", ResponseNamespace="Users.Cas.jhu.edu", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public bool HasMyDB(long wsid) {
            object[] results = this.Invoke("HasMyDB", new object[] {
                        wsid});
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginHasMyDB(long wsid, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("HasMyDB", new object[] {
                        wsid}, callback, asyncState);
        }
        
        /// <remarks/>
        public bool EndHasMyDB(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public void HasMyDBAsync(long wsid) {
            this.HasMyDBAsync(wsid, null);
        }
        
        /// <remarks/>
        public void HasMyDBAsync(long wsid, object userState) {
            if ((this.HasMyDBOperationCompleted == null)) {
                this.HasMyDBOperationCompleted = new System.Threading.SendOrPostCallback(this.OnHasMyDBOperationCompleted);
            }
            this.InvokeAsync("HasMyDB", new object[] {
                        wsid}, this.HasMyDBOperationCompleted, userState);
        }
        
        private void OnHasMyDBOperationCompleted(object arg) {
            if ((this.HasMyDBCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.HasMyDBCompleted(this, new HasMyDBCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        public new void CancelAsync(object userState) {
            base.CancelAsync(userState);
        }
        
        private bool IsLocalFileSystemWebService(string url) {
            if (((url == null) 
                        || (url == string.Empty))) {
                return false;
            }
            System.Uri wsUri = new System.Uri(url);
            if (((wsUri.Port >= 1024) 
                        && (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
                return true;
            }
            return false;
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="Users.Cas.jhu.edu")]
    public partial class User {
        
        private string myDBHostField;
        
        private string myDBNameField;
        
        private string userIDField;
        
        private string nameField;
        
        private string emailField;
        
        private string passwordField;
        
        private string privilegesField;
        
        private long webServicesIDField;
        
        private long createdByField;
        
        private int emailLevelField;
        
        private int myDBMinSizeField;
        
        private int myDBMaxSizeField;
        
        private System.DateTime timeCreatedField;
        
        /// <remarks/>
        public string MyDBHost {
            get {
                return this.myDBHostField;
            }
            set {
                this.myDBHostField = value;
            }
        }
        
        /// <remarks/>
        public string MyDBName {
            get {
                return this.myDBNameField;
            }
            set {
                this.myDBNameField = value;
            }
        }
        
        /// <remarks/>
        public string UserID {
            get {
                return this.userIDField;
            }
            set {
                this.userIDField = value;
            }
        }
        
        /// <remarks/>
        public string Name {
            get {
                return this.nameField;
            }
            set {
                this.nameField = value;
            }
        }
        
        /// <remarks/>
        public string Email {
            get {
                return this.emailField;
            }
            set {
                this.emailField = value;
            }
        }
        
        /// <remarks/>
        public string Password {
            get {
                return this.passwordField;
            }
            set {
                this.passwordField = value;
            }
        }
        
        /// <remarks/>
        public string Privileges {
            get {
                return this.privilegesField;
            }
            set {
                this.privilegesField = value;
            }
        }
        
        /// <remarks/>
        public long WebServicesID {
            get {
                return this.webServicesIDField;
            }
            set {
                this.webServicesIDField = value;
            }
        }
        
        /// <remarks/>
        public long CreatedBy {
            get {
                return this.createdByField;
            }
            set {
                this.createdByField = value;
            }
        }
        
        /// <remarks/>
        public int EmailLevel {
            get {
                return this.emailLevelField;
            }
            set {
                this.emailLevelField = value;
            }
        }
        
        /// <remarks/>
        public int MyDBMinSize {
            get {
                return this.myDBMinSizeField;
            }
            set {
                this.myDBMinSizeField = value;
            }
        }
        
        /// <remarks/>
        public int MyDBMaxSize {
            get {
                return this.myDBMaxSizeField;
            }
            set {
                this.myDBMaxSizeField = value;
            }
        }
        
        /// <remarks/>
        public System.DateTime TimeCreated {
            get {
                return this.timeCreatedField;
            }
            set {
                this.timeCreatedField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
    public delegate void CreateAccountCompletedEventHandler(object sender, CreateAccountCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class CreateAccountCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal CreateAccountCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public long Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((long)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
    public delegate void GetWebServiceIdCompletedEventHandler(object sender, GetWebServiceIdCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetWebServiceIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetWebServiceIdCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public long Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((long)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
    public delegate void ForgotPasswordCompletedEventHandler(object sender, ForgotPasswordCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class ForgotPasswordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal ForgotPasswordCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
    public delegate void UpdateAccountCompletedEventHandler(object sender, UpdateAccountCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class UpdateAccountCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal UpdateAccountCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public bool Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((bool)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
    public delegate void FindUserDataSetCompletedEventHandler(object sender, FindUserDataSetCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class FindUserDataSetCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal FindUserDataSetCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public System.Data.DataSet Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((System.Data.DataSet)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
    public delegate void FindUserCompletedEventHandler(object sender, FindUserCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class FindUserCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal FindUserCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public User[] Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((User[])(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
    public delegate void GetUniqueUserIdCompletedEventHandler(object sender, GetUniqueUserIdCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetUniqueUserIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetUniqueUserIdCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
    public delegate void UploadDataSetCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
    public delegate void HasMyDBCompletedEventHandler(object sender, HasMyDBCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class HasMyDBCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal HasMyDBCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public bool Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((bool)(this.results[0]));
            }
        }
    }
}

#pragma warning restore 1591