<PackageReference Include="Relativity.Server.Transfer.SDK" Version="24000.0.1" />

UserManager

using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Threading; using System.Web.Services; using System.Web.Services.Protocols; namespace Relativity.Transfer { [ExcludeFromCodeCoverage] [GeneratedCode("wsdl", "4.6.1055.0")] [DebuggerStepThrough] [DesignerCategory("code")] [WebServiceBinding] internal class UserManager { private SendOrPostCallback UpdateImageViewerDefaultViewModeOperationCompleted; private SendOrPostCallback UpdateOIXDocumentModeOperationCompleted; private SendOrPostCallback UpdateSelectedMarkupSetArtifactIDOperationCompleted; private SendOrPostCallback UpdateDefaultRedactionTextOperationCompleted; private SendOrPostCallback LogoutOperationCompleted; private SendOrPostCallback ClearCookiesBeforeLoginOperationCompleted; private SendOrPostCallback LoggedInOperationCompleted; private SendOrPostCallback LoginOperationCompleted; private SendOrPostCallback LoginWithAuthenticationTokenOperationCompleted; private SendOrPostCallback GenerateAuthenticationTokenOperationCompleted; private SendOrPostCallback GenerateDistributedAuthenticationTokenOperationCompleted; private SendOrPostCallback GetLatestAuthenticationTokenOperationCompleted; private SendOrPostCallback RetrieveAllAssignableInCaseOperationCompleted; public event UpdateImageViewerDefaultViewModeCompletedEventHandler UpdateImageViewerDefaultViewModeCompleted; public event UpdateOIXDocumentModeCompletedEventHandler UpdateOIXDocumentModeCompleted; public event UpdateSelectedMarkupSetArtifactIDCompletedEventHandler UpdateSelectedMarkupSetArtifactIDCompleted; public event UpdateDefaultRedactionTextCompletedEventHandler UpdateDefaultRedactionTextCompleted; public event LogoutCompletedEventHandler LogoutCompleted; public event ClearCookiesBeforeLoginCompletedEventHandler ClearCookiesBeforeLoginCompleted; public event LoggedInCompletedEventHandler LoggedInCompleted; public event LoginCompletedEventHandler LoginCompleted; public event LoginWithAuthenticationTokenCompletedEventHandler LoginWithAuthenticationTokenCompleted; public event GenerateAuthenticationTokenCompletedEventHandler GenerateAuthenticationTokenCompleted; public event GenerateDistributedAuthenticationTokenCompletedEventHandler GenerateDistributedAuthenticationTokenCompleted; public event GetLatestAuthenticationTokenCompletedEventHandler GetLatestAuthenticationTokenCompleted; public event RetrieveAllAssignableInCaseCompletedEventHandler RetrieveAllAssignableInCaseCompleted; public UserManager() : this() { this.set_Url("http://localhost/RelativityWebApi/UserManager.asmx"); } [SoapDocumentMethod("http://www.kCura.com/EDDS/UserManager/UpdateImageViewerDefaultViewMode")] public void UpdateImageViewerDefaultViewMode(string defaultViewMode) { this.Invoke("UpdateImageViewerDefaultViewMode", new object[1] { defaultViewMode }); } public IAsyncResult BeginUpdateImageViewerDefaultViewMode(string defaultViewMode, AsyncCallback callback, object asyncState) { return this.BeginInvoke("UpdateImageViewerDefaultViewMode", new object[1] { defaultViewMode }, callback, asyncState); } public void EndUpdateImageViewerDefaultViewMode(IAsyncResult asyncResult) { this.EndInvoke(asyncResult); } public void UpdateImageViewerDefaultViewModeAsync(string defaultViewMode) { UpdateImageViewerDefaultViewModeAsync(defaultViewMode, null); } public void UpdateImageViewerDefaultViewModeAsync(string defaultViewMode, object userState) { if (UpdateImageViewerDefaultViewModeOperationCompleted == null) UpdateImageViewerDefaultViewModeOperationCompleted = OnUpdateImageViewerDefaultViewModeOperationCompleted; this.InvokeAsync("UpdateImageViewerDefaultViewMode", new object[1] { defaultViewMode }, UpdateImageViewerDefaultViewModeOperationCompleted, userState); } private void OnUpdateImageViewerDefaultViewModeOperationCompleted(object arg) { if (this.UpdateImageViewerDefaultViewModeCompleted != null) { InvokeCompletedEventArgs val = arg; this.UpdateImageViewerDefaultViewModeCompleted(this, new AsyncCompletedEventArgs(((AsyncCompletedEventArgs)val).Error, ((AsyncCompletedEventArgs)val).Cancelled, ((AsyncCompletedEventArgs)val).UserState)); } } [SoapDocumentMethod("http://www.kCura.com/EDDS/UserManager/UpdateOIXDocumentMode")] public void UpdateOIXDocumentMode(int mode) { this.Invoke("UpdateOIXDocumentMode", new object[1] { mode }); } public IAsyncResult BeginUpdateOIXDocumentMode(int mode, AsyncCallback callback, object asyncState) { return this.BeginInvoke("UpdateOIXDocumentMode", new object[1] { mode }, callback, asyncState); } public void EndUpdateOIXDocumentMode(IAsyncResult asyncResult) { this.EndInvoke(asyncResult); } public void UpdateOIXDocumentModeAsync(int mode) { UpdateOIXDocumentModeAsync(mode, null); } public void UpdateOIXDocumentModeAsync(int mode, object userState) { if (UpdateOIXDocumentModeOperationCompleted == null) UpdateOIXDocumentModeOperationCompleted = OnUpdateOIXDocumentModeOperationCompleted; this.InvokeAsync("UpdateOIXDocumentMode", new object[1] { mode }, UpdateOIXDocumentModeOperationCompleted, userState); } private void OnUpdateOIXDocumentModeOperationCompleted(object arg) { if (this.UpdateOIXDocumentModeCompleted != null) { InvokeCompletedEventArgs val = arg; this.UpdateOIXDocumentModeCompleted(this, new AsyncCompletedEventArgs(((AsyncCompletedEventArgs)val).Error, ((AsyncCompletedEventArgs)val).Cancelled, ((AsyncCompletedEventArgs)val).UserState)); } } [SoapDocumentMethod("http://www.kCura.com/EDDS/UserManager/UpdateSelectedMarkupSetArtifactID")] public void UpdateSelectedMarkupSetArtifactID(int selectedMarkupSetArtifactID) { this.Invoke("UpdateSelectedMarkupSetArtifactID", new object[1] { selectedMarkupSetArtifactID }); } public IAsyncResult BeginUpdateSelectedMarkupSetArtifactID(int selectedMarkupSetArtifactID, AsyncCallback callback, object asyncState) { return this.BeginInvoke("UpdateSelectedMarkupSetArtifactID", new object[1] { selectedMarkupSetArtifactID }, callback, asyncState); } public void EndUpdateSelectedMarkupSetArtifactID(IAsyncResult asyncResult) { this.EndInvoke(asyncResult); } public void UpdateSelectedMarkupSetArtifactIDAsync(int selectedMarkupSetArtifactID) { UpdateSelectedMarkupSetArtifactIDAsync(selectedMarkupSetArtifactID, null); } public void UpdateSelectedMarkupSetArtifactIDAsync(int selectedMarkupSetArtifactID, object userState) { if (UpdateSelectedMarkupSetArtifactIDOperationCompleted == null) UpdateSelectedMarkupSetArtifactIDOperationCompleted = OnUpdateSelectedMarkupSetArtifactIDOperationCompleted; this.InvokeAsync("UpdateSelectedMarkupSetArtifactID", new object[1] { selectedMarkupSetArtifactID }, UpdateSelectedMarkupSetArtifactIDOperationCompleted, userState); } private void OnUpdateSelectedMarkupSetArtifactIDOperationCompleted(object arg) { if (this.UpdateSelectedMarkupSetArtifactIDCompleted != null) { InvokeCompletedEventArgs val = arg; this.UpdateSelectedMarkupSetArtifactIDCompleted(this, new AsyncCompletedEventArgs(((AsyncCompletedEventArgs)val).Error, ((AsyncCompletedEventArgs)val).Cancelled, ((AsyncCompletedEventArgs)val).UserState)); } } [SoapDocumentMethod("http://www.kCura.com/EDDS/UserManager/UpdateDefaultRedactionText")] public void UpdateDefaultRedactionText(string text) { this.Invoke("UpdateDefaultRedactionText", new object[1] { text }); } public IAsyncResult BeginUpdateDefaultRedactionText(string text, AsyncCallback callback, object asyncState) { return this.BeginInvoke("UpdateDefaultRedactionText", new object[1] { text }, callback, asyncState); } public void EndUpdateDefaultRedactionText(IAsyncResult asyncResult) { this.EndInvoke(asyncResult); } public void UpdateDefaultRedactionTextAsync(string text) { UpdateDefaultRedactionTextAsync(text, null); } public void UpdateDefaultRedactionTextAsync(string text, object userState) { if (UpdateDefaultRedactionTextOperationCompleted == null) UpdateDefaultRedactionTextOperationCompleted = OnUpdateDefaultRedactionTextOperationCompleted; this.InvokeAsync("UpdateDefaultRedactionText", new object[1] { text }, UpdateDefaultRedactionTextOperationCompleted, userState); } private void OnUpdateDefaultRedactionTextOperationCompleted(object arg) { if (this.UpdateDefaultRedactionTextCompleted != null) { InvokeCompletedEventArgs val = arg; this.UpdateDefaultRedactionTextCompleted(this, new AsyncCompletedEventArgs(((AsyncCompletedEventArgs)val).Error, ((AsyncCompletedEventArgs)val).Cancelled, ((AsyncCompletedEventArgs)val).UserState)); } } [SoapDocumentMethod("http://www.kCura.com/EDDS/UserManager/Logout")] public void Logout() { this.Invoke("Logout", new object[0]); } public IAsyncResult BeginLogout(AsyncCallback callback, object asyncState) { return this.BeginInvoke("Logout", new object[0], callback, asyncState); } public void EndLogout(IAsyncResult asyncResult) { this.EndInvoke(asyncResult); } public void LogoutAsync() { LogoutAsync(null); } public void LogoutAsync(object userState) { if (LogoutOperationCompleted == null) LogoutOperationCompleted = OnLogoutOperationCompleted; this.InvokeAsync("Logout", new object[0], LogoutOperationCompleted, userState); } private void OnLogoutOperationCompleted(object arg) { if (this.LogoutCompleted != null) { InvokeCompletedEventArgs val = arg; this.LogoutCompleted(this, new AsyncCompletedEventArgs(((AsyncCompletedEventArgs)val).Error, ((AsyncCompletedEventArgs)val).Cancelled, ((AsyncCompletedEventArgs)val).UserState)); } } [SoapDocumentMethod("http://www.kCura.com/EDDS/UserManager/ClearCookiesBeforeLogin")] public void ClearCookiesBeforeLogin() { this.Invoke("ClearCookiesBeforeLogin", new object[0]); } public IAsyncResult BeginClearCookiesBeforeLogin(AsyncCallback callback, object asyncState) { return this.BeginInvoke("ClearCookiesBeforeLogin", new object[0], callback, asyncState); } public void EndClearCookiesBeforeLogin(IAsyncResult asyncResult) { this.EndInvoke(asyncResult); } public void ClearCookiesBeforeLoginAsync() { ClearCookiesBeforeLoginAsync(null); } public void ClearCookiesBeforeLoginAsync(object userState) { if (ClearCookiesBeforeLoginOperationCompleted == null) ClearCookiesBeforeLoginOperationCompleted = OnClearCookiesBeforeLoginOperationCompleted; this.InvokeAsync("ClearCookiesBeforeLogin", new object[0], ClearCookiesBeforeLoginOperationCompleted, userState); } private void OnClearCookiesBeforeLoginOperationCompleted(object arg) { if (this.ClearCookiesBeforeLoginCompleted != null) { InvokeCompletedEventArgs val = arg; this.ClearCookiesBeforeLoginCompleted(this, new AsyncCompletedEventArgs(((AsyncCompletedEventArgs)val).Error, ((AsyncCompletedEventArgs)val).Cancelled, ((AsyncCompletedEventArgs)val).UserState)); } } [SoapDocumentMethod("http://www.kCura.com/EDDS/UserManager/LoggedIn")] public bool LoggedIn() { return (bool)this.Invoke("LoggedIn", new object[0])[0]; } public IAsyncResult BeginLoggedIn(AsyncCallback callback, object asyncState) { return this.BeginInvoke("LoggedIn", new object[0], callback, asyncState); } public bool EndLoggedIn(IAsyncResult asyncResult) { return (bool)this.EndInvoke(asyncResult)[0]; } public void LoggedInAsync() { LoggedInAsync(null); } public void LoggedInAsync(object userState) { if (LoggedInOperationCompleted == null) LoggedInOperationCompleted = OnLoggedInOperationCompleted; this.InvokeAsync("LoggedIn", new object[0], LoggedInOperationCompleted, userState); } private void OnLoggedInOperationCompleted(object arg) { if (this.LoggedInCompleted != null) { InvokeCompletedEventArgs val = arg; this.LoggedInCompleted(this, new LoggedInCompletedEventArgs(val.get_Results(), ((AsyncCompletedEventArgs)val).Error, ((AsyncCompletedEventArgs)val).Cancelled, ((AsyncCompletedEventArgs)val).UserState)); } } [SoapDocumentMethod("http://www.kCura.com/EDDS/UserManager/Login")] public bool Login(string emailAddress, string password) { return (bool)this.Invoke("Login", new object[2] { emailAddress, password })[0]; } public IAsyncResult BeginLogin(string emailAddress, string password, AsyncCallback callback, object asyncState) { return this.BeginInvoke("Login", new object[2] { emailAddress, password }, callback, asyncState); } public bool EndLogin(IAsyncResult asyncResult) { return (bool)this.EndInvoke(asyncResult)[0]; } public void LoginAsync(string emailAddress, string password) { LoginAsync(emailAddress, password, null); } public void LoginAsync(string emailAddress, string password, object userState) { if (LoginOperationCompleted == null) LoginOperationCompleted = OnLoginOperationCompleted; this.InvokeAsync("Login", new object[2] { emailAddress, password }, LoginOperationCompleted, userState); } private void OnLoginOperationCompleted(object arg) { if (this.LoginCompleted != null) { InvokeCompletedEventArgs val = arg; this.LoginCompleted(this, new LoginCompletedEventArgs(val.get_Results(), ((AsyncCompletedEventArgs)val).Error, ((AsyncCompletedEventArgs)val).Cancelled, ((AsyncCompletedEventArgs)val).UserState)); } } [SoapDocumentMethod("http://www.kCura.com/EDDS/UserManager/LoginWithAuthenticationToken")] public string LoginWithAuthenticationToken(string authenticationToken) { return (string)this.Invoke("LoginWithAuthenticationToken", new object[1] { authenticationToken })[0]; } public IAsyncResult BeginLoginWithAuthenticationToken(string authenticationToken, AsyncCallback callback, object asyncState) { return this.BeginInvoke("LoginWithAuthenticationToken", new object[1] { authenticationToken }, callback, asyncState); } public string EndLoginWithAuthenticationToken(IAsyncResult asyncResult) { return (string)this.EndInvoke(asyncResult)[0]; } public void LoginWithAuthenticationTokenAsync(string authenticationToken) { LoginWithAuthenticationTokenAsync(authenticationToken, null); } public void LoginWithAuthenticationTokenAsync(string authenticationToken, object userState) { if (LoginWithAuthenticationTokenOperationCompleted == null) LoginWithAuthenticationTokenOperationCompleted = OnLoginWithAuthenticationTokenOperationCompleted; this.InvokeAsync("LoginWithAuthenticationToken", new object[1] { authenticationToken }, LoginWithAuthenticationTokenOperationCompleted, userState); } private void OnLoginWithAuthenticationTokenOperationCompleted(object arg) { if (this.LoginWithAuthenticationTokenCompleted != null) { InvokeCompletedEventArgs val = arg; this.LoginWithAuthenticationTokenCompleted(this, new LoginWithAuthenticationTokenCompletedEventArgs(val.get_Results(), ((AsyncCompletedEventArgs)val).Error, ((AsyncCompletedEventArgs)val).Cancelled, ((AsyncCompletedEventArgs)val).UserState)); } } [SoapDocumentMethod("http://www.kCura.com/EDDS/UserManager/GenerateAuthenticationToken")] public string GenerateAuthenticationToken() { return (string)this.Invoke("GenerateAuthenticationToken", new object[0])[0]; } public IAsyncResult BeginGenerateAuthenticationToken(AsyncCallback callback, object asyncState) { return this.BeginInvoke("GenerateAuthenticationToken", new object[0], callback, asyncState); } public string EndGenerateAuthenticationToken(IAsyncResult asyncResult) { return (string)this.EndInvoke(asyncResult)[0]; } public void GenerateAuthenticationTokenAsync() { GenerateAuthenticationTokenAsync(null); } public void GenerateAuthenticationTokenAsync(object userState) { if (GenerateAuthenticationTokenOperationCompleted == null) GenerateAuthenticationTokenOperationCompleted = OnGenerateAuthenticationTokenOperationCompleted; this.InvokeAsync("GenerateAuthenticationToken", new object[0], GenerateAuthenticationTokenOperationCompleted, userState); } private void OnGenerateAuthenticationTokenOperationCompleted(object arg) { if (this.GenerateAuthenticationTokenCompleted != null) { InvokeCompletedEventArgs val = arg; this.GenerateAuthenticationTokenCompleted(this, new GenerateAuthenticationTokenCompletedEventArgs(val.get_Results(), ((AsyncCompletedEventArgs)val).Error, ((AsyncCompletedEventArgs)val).Cancelled, ((AsyncCompletedEventArgs)val).UserState)); } } [SoapDocumentMethod("http://www.kCura.com/EDDS/UserManager/GenerateDistributedAuthenticationToken")] public string GenerateDistributedAuthenticationToken() { return (string)this.Invoke("GenerateDistributedAuthenticationToken", new object[0])[0]; } public IAsyncResult BeginGenerateDistributedAuthenticationToken(AsyncCallback callback, object asyncState) { return this.BeginInvoke("GenerateDistributedAuthenticationToken", new object[0], callback, asyncState); } public string EndGenerateDistributedAuthenticationToken(IAsyncResult asyncResult) { return (string)this.EndInvoke(asyncResult)[0]; } public void GenerateDistributedAuthenticationTokenAsync() { GenerateDistributedAuthenticationTokenAsync(null); } public void GenerateDistributedAuthenticationTokenAsync(object userState) { if (GenerateDistributedAuthenticationTokenOperationCompleted == null) GenerateDistributedAuthenticationTokenOperationCompleted = OnGenerateDistributedAuthenticationTokenOperationCompleted; this.InvokeAsync("GenerateDistributedAuthenticationToken", new object[0], GenerateDistributedAuthenticationTokenOperationCompleted, userState); } private void OnGenerateDistributedAuthenticationTokenOperationCompleted(object arg) { if (this.GenerateDistributedAuthenticationTokenCompleted != null) { InvokeCompletedEventArgs val = arg; this.GenerateDistributedAuthenticationTokenCompleted(this, new GenerateDistributedAuthenticationTokenCompletedEventArgs(val.get_Results(), ((AsyncCompletedEventArgs)val).Error, ((AsyncCompletedEventArgs)val).Cancelled, ((AsyncCompletedEventArgs)val).UserState)); } } [SoapDocumentMethod("http://www.kCura.com/EDDS/UserManager/GetLatestAuthenticationToken")] public string GetLatestAuthenticationToken() { return (string)this.Invoke("GetLatestAuthenticationToken", new object[0])[0]; } public IAsyncResult BeginGetLatestAuthenticationToken(AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetLatestAuthenticationToken", new object[0], callback, asyncState); } public string EndGetLatestAuthenticationToken(IAsyncResult asyncResult) { return (string)this.EndInvoke(asyncResult)[0]; } public void GetLatestAuthenticationTokenAsync() { GetLatestAuthenticationTokenAsync(null); } public void GetLatestAuthenticationTokenAsync(object userState) { if (GetLatestAuthenticationTokenOperationCompleted == null) GetLatestAuthenticationTokenOperationCompleted = OnGetLatestAuthenticationTokenOperationCompleted; this.InvokeAsync("GetLatestAuthenticationToken", new object[0], GetLatestAuthenticationTokenOperationCompleted, userState); } private void OnGetLatestAuthenticationTokenOperationCompleted(object arg) { if (this.GetLatestAuthenticationTokenCompleted != null) { InvokeCompletedEventArgs val = arg; this.GetLatestAuthenticationTokenCompleted(this, new GetLatestAuthenticationTokenCompletedEventArgs(val.get_Results(), ((AsyncCompletedEventArgs)val).Error, ((AsyncCompletedEventArgs)val).Cancelled, ((AsyncCompletedEventArgs)val).UserState)); } } [SoapDocumentMethod("http://www.kCura.com/EDDS/UserManager/RetrieveAllAssignableInCase")] public DataSet RetrieveAllAssignableInCase(int caseContextArtifactID) { return (DataSet)this.Invoke("RetrieveAllAssignableInCase", new object[1] { caseContextArtifactID })[0]; } public IAsyncResult BeginRetrieveAllAssignableInCase(int caseContextArtifactID, AsyncCallback callback, object asyncState) { return this.BeginInvoke("RetrieveAllAssignableInCase", new object[1] { caseContextArtifactID }, callback, asyncState); } public DataSet EndRetrieveAllAssignableInCase(IAsyncResult asyncResult) { return (DataSet)this.EndInvoke(asyncResult)[0]; } public void RetrieveAllAssignableInCaseAsync(int caseContextArtifactID) { RetrieveAllAssignableInCaseAsync(caseContextArtifactID, null); } public void RetrieveAllAssignableInCaseAsync(int caseContextArtifactID, object userState) { if (RetrieveAllAssignableInCaseOperationCompleted == null) RetrieveAllAssignableInCaseOperationCompleted = OnRetrieveAllAssignableInCaseOperationCompleted; this.InvokeAsync("RetrieveAllAssignableInCase", new object[1] { caseContextArtifactID }, RetrieveAllAssignableInCaseOperationCompleted, userState); } private void OnRetrieveAllAssignableInCaseOperationCompleted(object arg) { if (this.RetrieveAllAssignableInCaseCompleted != null) { InvokeCompletedEventArgs val = arg; this.RetrieveAllAssignableInCaseCompleted(this, new RetrieveAllAssignableInCaseCompletedEventArgs(val.get_Results(), ((AsyncCompletedEventArgs)val).Error, ((AsyncCompletedEventArgs)val).Cancelled, ((AsyncCompletedEventArgs)val).UserState)); } } public void CancelAsync(object userState) { this.CancelAsync(userState); } } }