diff --git a/CHANGELOG.md b/CHANGELOG.md index 78be4d11..9228b5ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - #319: Override quick connect username when using user@domain - #283: Support for native PowerShell remoting as new protocol - #1850: Minify config xml +- #1516: added API to access credential vault (Thycotic Secret Server) by specifying SSAPI:ID as username ### Changed - #2022: Replaced CefSharp with WebView2 - #2014: Revised icons diff --git a/SecretServerInterface/Properties/AssemblyInfo.cs b/SecretServerInterface/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..2733685e --- /dev/null +++ b/SecretServerInterface/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("SecretServerInterface")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("SecretServerInterface")] +[assembly: AssemblyCopyright("Copyright © 2019")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("cbeee1a0-b917-4f61-812b-85c4c15e80fc")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/SecretServerInterface/Properties/Settings.Designer.cs b/SecretServerInterface/Properties/Settings.Designer.cs new file mode 100644 index 00000000..187bc2c5 --- /dev/null +++ b/SecretServerInterface/Properties/Settings.Designer.cs @@ -0,0 +1,46 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace SecretServerInterface.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.10.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + + [global::System.Configuration.ApplicationScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)] + [global::System.Configuration.DefaultSettingValueAttribute("https://cred.domain.local/SecretServer/webservices/SSWebService.asmx")] + public string SecretServerInterface_SSWebService { + get { + return ((string)(this["SecretServerInterface_SSWebService"])); + } + } + + [global::System.Configuration.ApplicationScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)] + [global::System.Configuration.DefaultSettingValueAttribute("https://cred.sit.local/SecretServer/winauthwebservices/SSWinAuthWebService.asmx")] + public string SecretServerInterface_SSWinAuthWebService { + get { + return ((string)(this["SecretServerInterface_SSWinAuthWebService"])); + } + } + } +} diff --git a/SecretServerInterface/Properties/Settings.settings b/SecretServerInterface/Properties/Settings.settings new file mode 100644 index 00000000..51f098cf --- /dev/null +++ b/SecretServerInterface/Properties/Settings.settings @@ -0,0 +1,12 @@ + + + + + + https://cred.domain.local/SecretServer/webservices/SSWebService.asmx + + + https://cred.sit.local/SecretServer/winauthwebservices/SSWinAuthWebService.asmx + + + \ No newline at end of file diff --git a/SecretServerInterface/SSConnectionForm.Designer.cs b/SecretServerInterface/SSConnectionForm.Designer.cs new file mode 100644 index 00000000..fa9bf1c7 --- /dev/null +++ b/SecretServerInterface/SSConnectionForm.Designer.cs @@ -0,0 +1,289 @@ +namespace SecretServerInterface +{ + partial class SSConnectionForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.tbSSURL = new System.Windows.Forms.TextBox(); + this.tbUsername = new System.Windows.Forms.TextBox(); + this.label3 = new System.Windows.Forms.Label(); + this.tbPassword = new System.Windows.Forms.TextBox(); + this.label4 = new System.Windows.Forms.Label(); + this.tbDomain = new System.Windows.Forms.TextBox(); + this.label5 = new System.Windows.Forms.Label(); + this.tbOrganization = new System.Windows.Forms.TextBox(); + this.btnOK = new System.Windows.Forms.Button(); + this.btnCancel = new System.Windows.Forms.Button(); + this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); + this.label6 = new System.Windows.Forms.Label(); + this.cbUseSSO = new System.Windows.Forms.CheckBox(); + this.tbWinAuthURL = new System.Windows.Forms.TextBox(); + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); + this.tableLayoutPanel1.SuspendLayout(); + this.tableLayoutPanel2.SuspendLayout(); + this.SuspendLayout(); + // + // tbSSURL + // + this.tbSSURL.Dock = System.Windows.Forms.DockStyle.Fill; + this.tbSSURL.Location = new System.Drawing.Point(222, 3); + this.tbSSURL.Name = "tbSSURL"; + this.tbSSURL.Size = new System.Drawing.Size(461, 20); + this.tbSSURL.TabIndex = 0; + // + // tbUsername + // + this.tbUsername.Dock = System.Windows.Forms.DockStyle.Fill; + this.tbUsername.Location = new System.Drawing.Point(222, 28); + this.tbUsername.Name = "tbUsername"; + this.tbUsername.Size = new System.Drawing.Size(461, 20); + this.tbUsername.TabIndex = 2; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Dock = System.Windows.Forms.DockStyle.Fill; + this.label3.Location = new System.Drawing.Point(3, 50); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(213, 20); + this.label3.TabIndex = 5; + this.label3.Text = "Password"; + this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // tbPassword + // + this.tbPassword.Dock = System.Windows.Forms.DockStyle.Fill; + this.tbPassword.Location = new System.Drawing.Point(222, 53); + this.tbPassword.Name = "tbPassword"; + this.tbPassword.Size = new System.Drawing.Size(461, 20); + this.tbPassword.TabIndex = 4; + this.tbPassword.UseSystemPasswordChar = true; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Dock = System.Windows.Forms.DockStyle.Fill; + this.label4.Location = new System.Drawing.Point(3, 70); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(213, 20); + this.label4.TabIndex = 7; + this.label4.Text = "Domain"; + this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // tbDomain + // + this.tbDomain.Dock = System.Windows.Forms.DockStyle.Fill; + this.tbDomain.Location = new System.Drawing.Point(222, 73); + this.tbDomain.Name = "tbDomain"; + this.tbDomain.Size = new System.Drawing.Size(461, 20); + this.tbDomain.TabIndex = 6; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Dock = System.Windows.Forms.DockStyle.Fill; + this.label5.Location = new System.Drawing.Point(3, 90); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(213, 20); + this.label5.TabIndex = 9; + this.label5.Text = "Organization"; + this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // tbOrganization + // + this.tbOrganization.Dock = System.Windows.Forms.DockStyle.Fill; + this.tbOrganization.Location = new System.Drawing.Point(222, 93); + this.tbOrganization.Name = "tbOrganization"; + this.tbOrganization.Size = new System.Drawing.Size(461, 20); + this.tbOrganization.TabIndex = 8; + // + // btnOK + // + this.btnOK.Anchor = System.Windows.Forms.AnchorStyles.Right; + this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK; + this.btnOK.Location = new System.Drawing.Point(255, 10); + this.btnOK.Name = "btnOK"; + this.btnOK.Size = new System.Drawing.Size(75, 23); + this.btnOK.TabIndex = 10; + this.btnOK.Text = "OK"; + this.btnOK.UseVisualStyleBackColor = true; + // + // btnCancel + // + this.btnCancel.Anchor = System.Windows.Forms.AnchorStyles.Left; + this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.btnCancel.Location = new System.Drawing.Point(356, 10); + this.btnCancel.Name = "btnCancel"; + this.btnCancel.Size = new System.Drawing.Size(75, 23); + this.btnCancel.TabIndex = 11; + this.btnCancel.Text = "Cancel"; + this.btnCancel.UseVisualStyleBackColor = true; + // + // tableLayoutPanel1 + // + this.tableLayoutPanel1.ColumnCount = 2; + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 32.06997F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 67.93003F)); + this.tableLayoutPanel1.Controls.Add(this.label6, 0, 6); + this.tableLayoutPanel1.Controls.Add(this.cbUseSSO, 0, 5); + this.tableLayoutPanel1.Controls.Add(this.tbWinAuthURL, 1, 6); + this.tableLayoutPanel1.Controls.Add(this.label1, 0, 0); + this.tableLayoutPanel1.Controls.Add(this.label2, 0, 1); + this.tableLayoutPanel1.Controls.Add(this.label3, 0, 2); + this.tableLayoutPanel1.Controls.Add(this.tbOrganization, 1, 4); + this.tableLayoutPanel1.Controls.Add(this.label5, 0, 4); + this.tableLayoutPanel1.Controls.Add(this.label4, 0, 3); + this.tableLayoutPanel1.Controls.Add(this.tbSSURL, 1, 0); + this.tableLayoutPanel1.Controls.Add(this.tbDomain, 1, 3); + this.tableLayoutPanel1.Controls.Add(this.tbUsername, 1, 1); + this.tableLayoutPanel1.Controls.Add(this.tbPassword, 1, 2); + this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Top; + this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); + this.tableLayoutPanel1.Name = "tableLayoutPanel1"; + this.tableLayoutPanel1.RowCount = 7; + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.tableLayoutPanel1.Size = new System.Drawing.Size(686, 151); + this.tableLayoutPanel1.TabIndex = 12; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Dock = System.Windows.Forms.DockStyle.Fill; + this.label6.Location = new System.Drawing.Point(3, 130); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(213, 21); + this.label6.TabIndex = 15; + this.label6.Text = "Secret Server WinAuth URL"; + this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // cbUseSSO + // + this.cbUseSSO.AutoSize = true; + this.cbUseSSO.Location = new System.Drawing.Point(3, 113); + this.cbUseSSO.Margin = new System.Windows.Forms.Padding(3, 3, 3, 0); + this.cbUseSSO.Name = "cbUseSSO"; + this.cbUseSSO.Size = new System.Drawing.Size(79, 17); + this.cbUseSSO.TabIndex = 14; + this.cbUseSSO.Text = "Use SSO"; + this.cbUseSSO.UseVisualStyleBackColor = true; + this.cbUseSSO.CheckedChanged += new System.EventHandler(this.cbUseSSO_CheckedChanged); + // + // tbWinAuthURL + // + this.tbWinAuthURL.Dock = System.Windows.Forms.DockStyle.Fill; + this.tbWinAuthURL.Location = new System.Drawing.Point(222, 133); + this.tbWinAuthURL.Name = "tbWinAuthURL"; + this.tbWinAuthURL.Size = new System.Drawing.Size(461, 20); + this.tbWinAuthURL.TabIndex = 10; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Dock = System.Windows.Forms.DockStyle.Fill; + this.label1.Location = new System.Drawing.Point(3, 0); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(213, 25); + this.label1.TabIndex = 2; + this.label1.Text = "Secret Server URL"; + this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Dock = System.Windows.Forms.DockStyle.Fill; + this.label2.Location = new System.Drawing.Point(3, 25); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(213, 25); + this.label2.TabIndex = 4; + this.label2.Text = "Username"; + this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // tableLayoutPanel2 + // + this.tableLayoutPanel2.ColumnCount = 5; + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); + this.tableLayoutPanel2.Controls.Add(this.btnOK, 1, 0); + this.tableLayoutPanel2.Controls.Add(this.btnCancel, 3, 0); + this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Bottom; + this.tableLayoutPanel2.Location = new System.Drawing.Point(0, 172); + this.tableLayoutPanel2.Name = "tableLayoutPanel2"; + this.tableLayoutPanel2.RowCount = 1; + this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel2.Size = new System.Drawing.Size(686, 43); + this.tableLayoutPanel2.TabIndex = 13; + // + // SSConnectionForm + // + this.AcceptButton = this.btnOK; + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(686, 215); + this.Controls.Add(this.tableLayoutPanel2); + this.Controls.Add(this.tableLayoutPanel1); + this.Name = "SSConnectionForm"; + this.Text = "Secret Server API Login Data"; + this.Activated += new System.EventHandler(this.SSConnectionForm_Activated); + this.tableLayoutPanel1.ResumeLayout(false); + this.tableLayoutPanel1.PerformLayout(); + this.tableLayoutPanel2.ResumeLayout(false); + this.ResumeLayout(false); + + } + + #endregion + private System.Windows.Forms.Label label3; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Label label5; + + public System.Windows.Forms.TextBox tbSSURL; + public System.Windows.Forms.TextBox tbUsername; + public System.Windows.Forms.TextBox tbPassword; + public System.Windows.Forms.TextBox tbDomain; + public System.Windows.Forms.TextBox tbOrganization; + private System.Windows.Forms.Button btnOK; + private System.Windows.Forms.Button btnCancel; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; + private System.Windows.Forms.Label label6; + public System.Windows.Forms.TextBox tbWinAuthURL; + public System.Windows.Forms.CheckBox cbUseSSO; + } +} \ No newline at end of file diff --git a/SecretServerInterface/SSConnectionForm.cs b/SecretServerInterface/SSConnectionForm.cs new file mode 100644 index 00000000..707d62d5 --- /dev/null +++ b/SecretServerInterface/SSConnectionForm.cs @@ -0,0 +1,44 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace SecretServerInterface +{ + public partial class SSConnectionForm : Form + { + public SSConnectionForm() + { + InitializeComponent(); + } + + private void SSConnectionForm_Activated(object sender, EventArgs e) + { + SetVisibility(); + if (cbUseSSO.Checked) + btnOK.Focus(); + else + tbPassword.Focus(); + } + + private void cbUseSSO_CheckedChanged(object sender, EventArgs e) + { + SetVisibility(); + } + private void SetVisibility() + { + bool ch = cbUseSSO.Checked; + tbDomain.Enabled = !ch; + tbPassword.Enabled = !ch; + tbUsername.Enabled = !ch; + tbSSURL.Enabled = !ch; + + tbWinAuthURL.Enabled = ch; + } + } +} diff --git a/SecretServerInterface/SSConnectionForm.resx b/SecretServerInterface/SSConnectionForm.resx new file mode 100644 index 00000000..1af7de15 --- /dev/null +++ b/SecretServerInterface/SSConnectionForm.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/SecretServerInterface/SecretServerInterface.cs b/SecretServerInterface/SecretServerInterface.cs new file mode 100644 index 00000000..9978c71f --- /dev/null +++ b/SecretServerInterface/SecretServerInterface.cs @@ -0,0 +1,199 @@ +using Microsoft.Win32; +using SecretServerInterface.SSWebService; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace SecretServerInterface +{ + public class SecretServerInterface + { + static void fetchSecret(int secretID, + out string secretUsername, out string secretPassword, out string secretDomain) + { + string authUsername = SSConnectionData.ssUsername; + string authPassword = SSConnectionData.ssPassword; + string authDomain = SSConnectionData.ssDomain; + string authOrg = SSConnectionData.ssOrg; + string url = SSConnectionData.ssUrl; + string waurl = SSConnectionData.ssWAUrl; + + if(SSConnectionData.ssSSO) + { + using (var service = new SSWebServiceWinAuth.SSWinAuthWebService()) + { + // url where to retrieve secrets from + service.Url = waurl; + + // try to authenticate to server + service.UseDefaultCredentials = true; + + var secret = service.GetSecret(secretID, false, null); + + // clear return variables + secretDomain = ""; + secretUsername = ""; + secretPassword = ""; + + // parse data and extract what we need + for (int i = 0; i < secret.Secret.Items.Count(); i++) + { + if (secret.Secret.Items[i].FieldName.ToLower().Equals("domain")) + secretDomain = secret.Secret.Items[i].Value; + else if (secret.Secret.Items[i].FieldName.ToLower().Equals("username")) + secretUsername = secret.Secret.Items[i].Value; + else if (secret.Secret.Items[i].FieldName.ToLower().Equals("password")) + secretPassword = secret.Secret.Items[i].Value; + } + } + } + else + { + using (var service = new SSWebService.SSWebService()) + { + // url where to retrieve secrets from + service.Url = url; + + // try to authenticate to server + var authResult = service.Authenticate(authUsername, authPassword, authOrg, authDomain); + if (authResult.Errors.Count() > 0) + { + throw new Exception($"authentication error: {authResult.Errors[0]}"); + } + + // set up the coderesponse structure + SSWebService.CodeResponse[] codeResponses = new SSWebService.CodeResponse[1]; + codeResponses[0] = new SSWebService.CodeResponse(); + codeResponses[0].ErrorCode = "COMMENT"; + codeResponses[0].Comment = $"accessing secret from mRemote, username: {authUsername}"; + + // fetch the secret + var secret = service.GetSecret(authResult.Token, secretID, false, codeResponses); + if (secret.Errors.Count() > 0) + { + throw new Exception($"getSecret error {secret.Errors[0]}"); + } + + // clear return variables + secretDomain = ""; + secretUsername = ""; + secretPassword = ""; + + // parse data and extract what we need + for (int i = 0; i < secret.Secret.Items.Count(); i++) + { + if (secret.Secret.Items[i].FieldName.ToLower().Equals("domain")) + secretDomain = secret.Secret.Items[i].Value; + else if (secret.Secret.Items[i].FieldName.ToLower().Equals("username")) + secretUsername = secret.Secret.Items[i].Value; + else if (secret.Secret.Items[i].FieldName.ToLower().Equals("password")) + secretPassword = secret.Secret.Items[i].Value; + } + } + } + + + } + + public static class SSConnectionData + { + public static string ssUsername = ""; + public static string ssPassword = ""; + public static string ssUrl = ""; + public static string ssWAUrl = ""; + public static string ssOrg = ""; + public static string ssDomain = ""; + public static bool ssSSO = false; + + public static bool initdone = false; + + public static void init() + { + if (ssPassword != "" || initdone == true) + return; + + RegistryKey key = Registry.CurrentUser.CreateSubKey(@"SOFTWARE\StrongITmRemoteSSInterface"); + try + { + // display gui and ask for data + SSConnectionForm f = new SSConnectionForm(); + f.tbDomain.Text = (string)key.GetValue("Domain"); + f.tbOrganization.Text = (string)key.GetValue("Organization"); + f.tbUsername.Text = (string)key.GetValue("Username"); + + string url; + url = (string)key.GetValue("URL"); + if (url == null || !url.Contains("://")) + url = "https://cred.domain.local/SecretServer/webservices/SSWebservice.asmx"; + f.tbSSURL.Text = url; + + url = (string)key.GetValue("WAURL"); + if (url == null || !url.Contains("://")) + url = "https://cred.domain.local/SecretServer/winauthwebservices/SSWinAuthWebService.asmx"; + f.tbWinAuthURL.Text = url; + + var b = key.GetValue("SSO"); + if (b == null || (string)b != "True") + ssSSO = false; + else + { + ssSSO = true; + initdone = true; + } + f.cbUseSSO.Checked = ssSSO; + + // show dialog + _ = f.ShowDialog(); + + if (f.DialogResult != DialogResult.OK) + return; + + // store values to memory + ssUsername = f.tbUsername.Text; + ssPassword = f.tbPassword.Text; + ssOrg = f.tbOrganization.Text; + ssDomain = f.tbDomain.Text; + ssUrl = f.tbSSURL.Text; + ssWAUrl = f.tbWinAuthURL.Text; + ssSSO = f.cbUseSSO.Checked; + + // write values to registry + key.SetValue("Username", ssUsername); + key.SetValue("Domain", ssDomain); + key.SetValue("Organization", ssOrg); + key.SetValue("URL", ssUrl); + key.SetValue("WAURL", ssWAUrl); + key.SetValue("SSO", ssSSO); + } + catch(Exception ex) + { + throw ex; + } + finally + { + key.Close(); + } + + } + + + } + + public static void fetchSecretFromServer(string input, out string username, out string password, out string domain) + { + // get secret id + if (!input.StartsWith("SSAPI:")) + throw new Exception("calling this function requires SSAPI: input"); + int secretID = Int32.Parse(input.Substring(6)); + + // init connection credentials, display popup if necessary + SSConnectionData.init(); + + // get the secret + fetchSecret(secretID, out username, out password, out domain); + } + } +} diff --git a/SecretServerInterface/SecretServerInterface.csproj b/SecretServerInterface/SecretServerInterface.csproj new file mode 100644 index 00000000..1ab60671 --- /dev/null +++ b/SecretServerInterface/SecretServerInterface.csproj @@ -0,0 +1,393 @@ + + + + + Debug + AnyCPU + {CBEEE1A0-B917-4F61-812B-85C4C15E80FC} + Library + Properties + SecretServerInterface + SecretServerInterface + v4.6.1 + 512 + true + + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + True + True + Settings.settings + + + Form + + + SSConnectionForm.cs + + + True + True + Reference.map + + + True + True + Reference.map + + + + + + + + + + + Dynamic + Web References\SSWebService\ + https://cred.sit.local/SecretServer/webservices/SSWebService.asmx + + + + + Settings + SecretServerInterface_SSWebService + + + Dynamic + Web References\SSWebServiceWinAuth\ + https://cred.sit.local/SecretServer/winauthwebservices/SSWinAuthWebService.asmx + + + + + Settings + SecretServerInterface_SSWinAuthWebService + + + + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + MSDiscoCodeGenerator + Reference.cs + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + MSDiscoCodeGenerator + Reference.cs + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + Reference.map + + + + + + + + SSConnectionForm.cs + + + + + + + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/AddSecretResult1.datasource b/SecretServerInterface/Web References/SSWebService/AddSecretResult1.datasource new file mode 100644 index 00000000..2e9c8b96 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/AddSecretResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.AddSecretResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/AuthenticateResult1.datasource b/SecretServerInterface/Web References/SSWebService/AuthenticateResult1.datasource new file mode 100644 index 00000000..b0fc6829 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/AuthenticateResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.AuthenticateResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/CreateFolderResult1.datasource b/SecretServerInterface/Web References/SSWebService/CreateFolderResult1.datasource new file mode 100644 index 00000000..8fff9fae --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/CreateFolderResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.CreateFolderResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/FileDownloadResult1.datasource b/SecretServerInterface/Web References/SSWebService/FileDownloadResult1.datasource new file mode 100644 index 00000000..5c0103b0 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/FileDownloadResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.FileDownloadResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/FolderExtendedCreateResult1.datasource b/SecretServerInterface/Web References/SSWebService/FolderExtendedCreateResult1.datasource new file mode 100644 index 00000000..366193d4 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/FolderExtendedCreateResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.FolderExtendedCreateResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/FolderExtendedGetNewResult1.datasource b/SecretServerInterface/Web References/SSWebService/FolderExtendedGetNewResult1.datasource new file mode 100644 index 00000000..243b2cda --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/FolderExtendedGetNewResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.FolderExtendedGetNewResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/FolderExtendedGetResult1.datasource b/SecretServerInterface/Web References/SSWebService/FolderExtendedGetResult1.datasource new file mode 100644 index 00000000..1b899f4d --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/FolderExtendedGetResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.FolderExtendedGetResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/FolderExtendedUpdateResult1.datasource b/SecretServerInterface/Web References/SSWebService/FolderExtendedUpdateResult1.datasource new file mode 100644 index 00000000..6f4ac9ac --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/FolderExtendedUpdateResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.FolderExtendedUpdateResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/GeneratePasswordResult1.datasource b/SecretServerInterface/Web References/SSWebService/GeneratePasswordResult1.datasource new file mode 100644 index 00000000..16364e29 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/GeneratePasswordResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.GeneratePasswordResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/GetAllGroupsResult1.datasource b/SecretServerInterface/Web References/SSWebService/GetAllGroupsResult1.datasource new file mode 100644 index 00000000..fbaa5297 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/GetAllGroupsResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.GetAllGroupsResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/GetCheckOutStatusResult1.datasource b/SecretServerInterface/Web References/SSWebService/GetCheckOutStatusResult1.datasource new file mode 100644 index 00000000..319d6fc6 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/GetCheckOutStatusResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.GetCheckOutStatusResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/GetDependenciesResult1.datasource b/SecretServerInterface/Web References/SSWebService/GetDependenciesResult1.datasource new file mode 100644 index 00000000..ca6598de --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/GetDependenciesResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.GetDependenciesResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/GetDependencyGroupsResult1.datasource b/SecretServerInterface/Web References/SSWebService/GetDependencyGroupsResult1.datasource new file mode 100644 index 00000000..73492801 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/GetDependencyGroupsResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.GetDependencyGroupsResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/GetFavoritesResult1.datasource b/SecretServerInterface/Web References/SSWebService/GetFavoritesResult1.datasource new file mode 100644 index 00000000..d782be8e --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/GetFavoritesResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.GetFavoritesResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/GetFolderResult1.datasource b/SecretServerInterface/Web References/SSWebService/GetFolderResult1.datasource new file mode 100644 index 00000000..809bf9b0 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/GetFolderResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.GetFolderResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/GetFoldersResult1.datasource b/SecretServerInterface/Web References/SSWebService/GetFoldersResult1.datasource new file mode 100644 index 00000000..5fbe4ada --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/GetFoldersResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.GetFoldersResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/GetReportResult1.datasource b/SecretServerInterface/Web References/SSWebService/GetReportResult1.datasource new file mode 100644 index 00000000..1406ac6f --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/GetReportResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.GetReportResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/GetSecretAuditResult1.datasource b/SecretServerInterface/Web References/SSWebService/GetSecretAuditResult1.datasource new file mode 100644 index 00000000..6ddba39e --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/GetSecretAuditResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.GetSecretAuditResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/GetSecretResult1.datasource b/SecretServerInterface/Web References/SSWebService/GetSecretResult1.datasource new file mode 100644 index 00000000..ce2098d0 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/GetSecretResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.GetSecretResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/GetSecretTemplateFieldsResult1.datasource b/SecretServerInterface/Web References/SSWebService/GetSecretTemplateFieldsResult1.datasource new file mode 100644 index 00000000..dc17d868 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/GetSecretTemplateFieldsResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.GetSecretTemplateFieldsResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/GetSecretTemplatesResult1.datasource b/SecretServerInterface/Web References/SSWebService/GetSecretTemplatesResult1.datasource new file mode 100644 index 00000000..3dd2359c --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/GetSecretTemplatesResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.GetSecretTemplatesResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/GetSecretsByFieldValueResult1.datasource b/SecretServerInterface/Web References/SSWebService/GetSecretsByFieldValueResult1.datasource new file mode 100644 index 00000000..809bd198 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/GetSecretsByFieldValueResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.GetSecretsByFieldValueResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/GetSitesResult1.datasource b/SecretServerInterface/Web References/SSWebService/GetSitesResult1.datasource new file mode 100644 index 00000000..16f7fbb2 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/GetSitesResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.GetSitesResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/GetSshCommandMenuResult1.datasource b/SecretServerInterface/Web References/SSWebService/GetSshCommandMenuResult1.datasource new file mode 100644 index 00000000..07cd3083 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/GetSshCommandMenuResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.GetSshCommandMenuResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/GetSshCommandMenusResult1.datasource b/SecretServerInterface/Web References/SSWebService/GetSshCommandMenusResult1.datasource new file mode 100644 index 00000000..628c0f11 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/GetSshCommandMenusResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.GetSshCommandMenusResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/GetTicketSystemsResult1.datasource b/SecretServerInterface/Web References/SSWebService/GetTicketSystemsResult1.datasource new file mode 100644 index 00000000..463d226e --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/GetTicketSystemsResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.GetTicketSystemsResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/GetUserResult1.datasource b/SecretServerInterface/Web References/SSWebService/GetUserResult1.datasource new file mode 100644 index 00000000..589dea84 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/GetUserResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.GetUserResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/GetUserScriptResult1.datasource b/SecretServerInterface/Web References/SSWebService/GetUserScriptResult1.datasource new file mode 100644 index 00000000..69fc36f6 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/GetUserScriptResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.GetUserScriptResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/GetUserScriptsResult1.datasource b/SecretServerInterface/Web References/SSWebService/GetUserScriptsResult1.datasource new file mode 100644 index 00000000..4ca421ee --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/GetUserScriptsResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.GetUserScriptsResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/GetUsersResult1.datasource b/SecretServerInterface/Web References/SSWebService/GetUsersResult1.datasource new file mode 100644 index 00000000..25032056 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/GetUsersResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.GetUsersResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/ImpersonateResult1.datasource b/SecretServerInterface/Web References/SSWebService/ImpersonateResult1.datasource new file mode 100644 index 00000000..2934d1fa --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/ImpersonateResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.ImpersonateResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/Reference.cs b/SecretServerInterface/Web References/SSWebService/Reference.cs new file mode 100644 index 00000000..a0a8eba9 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/Reference.cs @@ -0,0 +1,11915 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +// +// This source code was auto-generated by Microsoft.VSDesigner, Version 4.0.30319.42000. +// +#pragma warning disable 1591 + +namespace SecretServerInterface.SSWebService { + using System; + using System.Web.Services; + using System.Diagnostics; + using System.Web.Services.Protocols; + using System.Xml.Serialization; + using System.ComponentModel; + using System.Data; + + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Web.Services.WebServiceBindingAttribute(Name="SSWebServiceSoap", Namespace="urn:thesecretserver.com")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FolderExtendedResultBase))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TrackChanges))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GenericResult))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SqlScriptArgument2[]))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UserScript[]))] + public partial class SSWebService : System.Web.Services.Protocols.SoapHttpClientProtocol { + + private System.Threading.SendOrPostCallback ApproveSecretAccessRequestOperationCompleted; + + private System.Threading.SendOrPostCallback DenySecretAccessRequestOperationCompleted; + + private System.Threading.SendOrPostCallback AuthenticateOperationCompleted; + + private System.Threading.SendOrPostCallback ImpersonateUserOperationCompleted; + + private System.Threading.SendOrPostCallback AuthenticateRADIUSOperationCompleted; + + private System.Threading.SendOrPostCallback GetTokenIsValidOperationCompleted; + + private System.Threading.SendOrPostCallback GetSecretLegacyOperationCompleted; + + private System.Threading.SendOrPostCallback GetSecretOperationCompleted; + + private System.Threading.SendOrPostCallback GetCheckOutStatusOperationCompleted; + + private System.Threading.SendOrPostCallback ChangePasswordOperationCompleted; + + private System.Threading.SendOrPostCallback GetSecretsByFieldValueOperationCompleted; + + private System.Threading.SendOrPostCallback SearchSecretsByFieldValueOperationCompleted; + + private System.Threading.SendOrPostCallback GetSecretsByExposedFieldValueOperationCompleted; + + private System.Threading.SendOrPostCallback SearchSecretsByExposedFieldValueOperationCompleted; + + private System.Threading.SendOrPostCallback SearchSecretsByExposedValuesOperationCompleted; + + private System.Threading.SendOrPostCallback AddUserOperationCompleted; + + private System.Threading.SendOrPostCallback SearchSecretsOperationCompleted; + + private System.Threading.SendOrPostCallback SearchSecretsLegacyOperationCompleted; + + private System.Threading.SendOrPostCallback SearchSecretsByFolderOperationCompleted; + + private System.Threading.SendOrPostCallback SearchSecretsByFolderLegacyOperationCompleted; + + private System.Threading.SendOrPostCallback GetFavoritesOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateIsFavoriteOperationCompleted; + + private System.Threading.SendOrPostCallback AddSecretOperationCompleted; + + private System.Threading.SendOrPostCallback AddNewSecretOperationCompleted; + + private System.Threading.SendOrPostCallback GetNewSecretOperationCompleted; + + private System.Threading.SendOrPostCallback GetSecretTemplateFieldsOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateSecretOperationCompleted; + + private System.Threading.SendOrPostCallback GetSecretTemplatesOperationCompleted; + + private System.Threading.SendOrPostCallback GeneratePasswordOperationCompleted; + + private System.Threading.SendOrPostCallback DeactivateSecretOperationCompleted; + + private System.Threading.SendOrPostCallback VersionGetOperationCompleted; + + private System.Threading.SendOrPostCallback FolderGetOperationCompleted; + + private System.Threading.SendOrPostCallback FolderUpdateOperationCompleted; + + private System.Threading.SendOrPostCallback FolderGetAllChildrenOperationCompleted; + + private System.Threading.SendOrPostCallback FolderCreateOperationCompleted; + + private System.Threading.SendOrPostCallback FolderExtendedCreateOperationCompleted; + + private System.Threading.SendOrPostCallback FolderExtendedGetOperationCompleted; + + private System.Threading.SendOrPostCallback FolderExtendedUpdateOperationCompleted; + + private System.Threading.SendOrPostCallback FolderExtendedGetNewOperationCompleted; + + private System.Threading.SendOrPostCallback SearchFoldersOperationCompleted; + + private System.Threading.SendOrPostCallback DownloadFileAttachmentOperationCompleted; + + private System.Threading.SendOrPostCallback DownloadFileAttachmentByItemIdOperationCompleted; + + private System.Threading.SendOrPostCallback UploadFileAttachmentOperationCompleted; + + private System.Threading.SendOrPostCallback UploadFileAttachmentByItemIdOperationCompleted; + + private System.Threading.SendOrPostCallback ExpireSecretOperationCompleted; + + private System.Threading.SendOrPostCallback SetCheckOutEnabledOperationCompleted; + + private System.Threading.SendOrPostCallback ImportXMLOperationCompleted; + + private System.Threading.SendOrPostCallback GetSecretAuditOperationCompleted; + + private System.Threading.SendOrPostCallback AddDependencyOperationCompleted; + + private System.Threading.SendOrPostCallback RemoveDependencyOperationCompleted; + + private System.Threading.SendOrPostCallback GetDependenciesOperationCompleted; + + private System.Threading.SendOrPostCallback CreateDependencyGroupForSecretOperationCompleted; + + private System.Threading.SendOrPostCallback GetDependencyGroupsForSecretOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateDependencyGroupForSecretOperationCompleted; + + private System.Threading.SendOrPostCallback RemoveDependencyGroupForSecretOperationCompleted; + + private System.Threading.SendOrPostCallback GetDistributedEnginesOperationCompleted; + + private System.Threading.SendOrPostCallback GetTicketSystemsOperationCompleted; + + private System.Threading.SendOrPostCallback AssignSiteOperationCompleted; + + private System.Threading.SendOrPostCallback CheckInOperationCompleted; + + private System.Threading.SendOrPostCallback AddSecretCustomAuditOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateSecretPermissionOperationCompleted; + + private System.Threading.SendOrPostCallback CheckInByKeyOperationCompleted; + + private System.Threading.SendOrPostCallback WhoAmIOperationCompleted; + + private System.Threading.SendOrPostCallback GetAllGroupsOperationCompleted; + + private System.Threading.SendOrPostCallback AssignUserToGroupOperationCompleted; + + private System.Threading.SendOrPostCallback GetSSHLoginCredentialsOperationCompleted; + + private System.Threading.SendOrPostCallback GetSSHLoginCredentialsWithMachineOperationCompleted; + + private System.Threading.SendOrPostCallback SearchUsersOperationCompleted; + + private System.Threading.SendOrPostCallback GetUserOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateUserOperationCompleted; + + private System.Threading.SendOrPostCallback GetSecretItemHistoryByFieldNameOperationCompleted; + + private System.Threading.SendOrPostCallback GetSecretPolicyForSecretOperationCompleted; + + private System.Threading.SendOrPostCallback AssignSecretPolicyForSecretOperationCompleted; + + private System.Threading.SendOrPostCallback SearchSecretPoliciesOperationCompleted; + + private System.Threading.SendOrPostCallback RunActiveDirectorySynchronizationOperationCompleted; + + private System.Threading.SendOrPostCallback AddGroupToActiveDirectorySynchronizationOperationCompleted; + + private System.Threading.SendOrPostCallback AddSecretPolicyOperationCompleted; + + private System.Threading.SendOrPostCallback GetNewSecretPolicyOperationCompleted; + + private System.Threading.SendOrPostCallback GetSSHCommandMenuOperationCompleted; + + private System.Threading.SendOrPostCallback SaveSSHCommandMenuOperationCompleted; + + private System.Threading.SendOrPostCallback GetAllSSHCommandMenusOperationCompleted; + + private System.Threading.SendOrPostCallback DeleteSSHCommandMenuOperationCompleted; + + private System.Threading.SendOrPostCallback RestoreSSHCommandMenuOperationCompleted; + + private System.Threading.SendOrPostCallback GetReportOperationCompleted; + + private System.Threading.SendOrPostCallback AddScriptOperationCompleted; + + private System.Threading.SendOrPostCallback GetAllScriptsOperationCompleted; + + private System.Threading.SendOrPostCallback GetScriptOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateScriptOperationCompleted; + + private bool useDefaultCredentialsSetExplicitly; + + /// + public SSWebService() { + this.Url = global::SecretServerInterface.Properties.Settings.Default.SecretServerInterface_SSWebService; + 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; + } + } + + /// + public event ApproveSecretAccessRequestCompletedEventHandler ApproveSecretAccessRequestCompleted; + + /// + public event DenySecretAccessRequestCompletedEventHandler DenySecretAccessRequestCompleted; + + /// + public event AuthenticateCompletedEventHandler AuthenticateCompleted; + + /// + public event ImpersonateUserCompletedEventHandler ImpersonateUserCompleted; + + /// + public event AuthenticateRADIUSCompletedEventHandler AuthenticateRADIUSCompleted; + + /// + public event GetTokenIsValidCompletedEventHandler GetTokenIsValidCompleted; + + /// + public event GetSecretLegacyCompletedEventHandler GetSecretLegacyCompleted; + + /// + public event GetSecretCompletedEventHandler GetSecretCompleted; + + /// + public event GetCheckOutStatusCompletedEventHandler GetCheckOutStatusCompleted; + + /// + public event ChangePasswordCompletedEventHandler ChangePasswordCompleted; + + /// + public event GetSecretsByFieldValueCompletedEventHandler GetSecretsByFieldValueCompleted; + + /// + public event SearchSecretsByFieldValueCompletedEventHandler SearchSecretsByFieldValueCompleted; + + /// + public event GetSecretsByExposedFieldValueCompletedEventHandler GetSecretsByExposedFieldValueCompleted; + + /// + public event SearchSecretsByExposedFieldValueCompletedEventHandler SearchSecretsByExposedFieldValueCompleted; + + /// + public event SearchSecretsByExposedValuesCompletedEventHandler SearchSecretsByExposedValuesCompleted; + + /// + public event AddUserCompletedEventHandler AddUserCompleted; + + /// + public event SearchSecretsCompletedEventHandler SearchSecretsCompleted; + + /// + public event SearchSecretsLegacyCompletedEventHandler SearchSecretsLegacyCompleted; + + /// + public event SearchSecretsByFolderCompletedEventHandler SearchSecretsByFolderCompleted; + + /// + public event SearchSecretsByFolderLegacyCompletedEventHandler SearchSecretsByFolderLegacyCompleted; + + /// + public event GetFavoritesCompletedEventHandler GetFavoritesCompleted; + + /// + public event UpdateIsFavoriteCompletedEventHandler UpdateIsFavoriteCompleted; + + /// + public event AddSecretCompletedEventHandler AddSecretCompleted; + + /// + public event AddNewSecretCompletedEventHandler AddNewSecretCompleted; + + /// + public event GetNewSecretCompletedEventHandler GetNewSecretCompleted; + + /// + public event GetSecretTemplateFieldsCompletedEventHandler GetSecretTemplateFieldsCompleted; + + /// + public event UpdateSecretCompletedEventHandler UpdateSecretCompleted; + + /// + public event GetSecretTemplatesCompletedEventHandler GetSecretTemplatesCompleted; + + /// + public event GeneratePasswordCompletedEventHandler GeneratePasswordCompleted; + + /// + public event DeactivateSecretCompletedEventHandler DeactivateSecretCompleted; + + /// + public event VersionGetCompletedEventHandler VersionGetCompleted; + + /// + public event FolderGetCompletedEventHandler FolderGetCompleted; + + /// + public event FolderUpdateCompletedEventHandler FolderUpdateCompleted; + + /// + public event FolderGetAllChildrenCompletedEventHandler FolderGetAllChildrenCompleted; + + /// + public event FolderCreateCompletedEventHandler FolderCreateCompleted; + + /// + public event FolderExtendedCreateCompletedEventHandler FolderExtendedCreateCompleted; + + /// + public event FolderExtendedGetCompletedEventHandler FolderExtendedGetCompleted; + + /// + public event FolderExtendedUpdateCompletedEventHandler FolderExtendedUpdateCompleted; + + /// + public event FolderExtendedGetNewCompletedEventHandler FolderExtendedGetNewCompleted; + + /// + public event SearchFoldersCompletedEventHandler SearchFoldersCompleted; + + /// + public event DownloadFileAttachmentCompletedEventHandler DownloadFileAttachmentCompleted; + + /// + public event DownloadFileAttachmentByItemIdCompletedEventHandler DownloadFileAttachmentByItemIdCompleted; + + /// + public event UploadFileAttachmentCompletedEventHandler UploadFileAttachmentCompleted; + + /// + public event UploadFileAttachmentByItemIdCompletedEventHandler UploadFileAttachmentByItemIdCompleted; + + /// + public event ExpireSecretCompletedEventHandler ExpireSecretCompleted; + + /// + public event SetCheckOutEnabledCompletedEventHandler SetCheckOutEnabledCompleted; + + /// + public event ImportXMLCompletedEventHandler ImportXMLCompleted; + + /// + public event GetSecretAuditCompletedEventHandler GetSecretAuditCompleted; + + /// + public event AddDependencyCompletedEventHandler AddDependencyCompleted; + + /// + public event RemoveDependencyCompletedEventHandler RemoveDependencyCompleted; + + /// + public event GetDependenciesCompletedEventHandler GetDependenciesCompleted; + + /// + public event CreateDependencyGroupForSecretCompletedEventHandler CreateDependencyGroupForSecretCompleted; + + /// + public event GetDependencyGroupsForSecretCompletedEventHandler GetDependencyGroupsForSecretCompleted; + + /// + public event UpdateDependencyGroupForSecretCompletedEventHandler UpdateDependencyGroupForSecretCompleted; + + /// + public event RemoveDependencyGroupForSecretCompletedEventHandler RemoveDependencyGroupForSecretCompleted; + + /// + public event GetDistributedEnginesCompletedEventHandler GetDistributedEnginesCompleted; + + /// + public event GetTicketSystemsCompletedEventHandler GetTicketSystemsCompleted; + + /// + public event AssignSiteCompletedEventHandler AssignSiteCompleted; + + /// + public event CheckInCompletedEventHandler CheckInCompleted; + + /// + public event AddSecretCustomAuditCompletedEventHandler AddSecretCustomAuditCompleted; + + /// + public event UpdateSecretPermissionCompletedEventHandler UpdateSecretPermissionCompleted; + + /// + public event CheckInByKeyCompletedEventHandler CheckInByKeyCompleted; + + /// + public event WhoAmICompletedEventHandler WhoAmICompleted; + + /// + public event GetAllGroupsCompletedEventHandler GetAllGroupsCompleted; + + /// + public event AssignUserToGroupCompletedEventHandler AssignUserToGroupCompleted; + + /// + public event GetSSHLoginCredentialsCompletedEventHandler GetSSHLoginCredentialsCompleted; + + /// + public event GetSSHLoginCredentialsWithMachineCompletedEventHandler GetSSHLoginCredentialsWithMachineCompleted; + + /// + public event SearchUsersCompletedEventHandler SearchUsersCompleted; + + /// + public event GetUserCompletedEventHandler GetUserCompleted; + + /// + public event UpdateUserCompletedEventHandler UpdateUserCompleted; + + /// + public event GetSecretItemHistoryByFieldNameCompletedEventHandler GetSecretItemHistoryByFieldNameCompleted; + + /// + public event GetSecretPolicyForSecretCompletedEventHandler GetSecretPolicyForSecretCompleted; + + /// + public event AssignSecretPolicyForSecretCompletedEventHandler AssignSecretPolicyForSecretCompleted; + + /// + public event SearchSecretPoliciesCompletedEventHandler SearchSecretPoliciesCompleted; + + /// + public event RunActiveDirectorySynchronizationCompletedEventHandler RunActiveDirectorySynchronizationCompleted; + + /// + public event AddGroupToActiveDirectorySynchronizationCompletedEventHandler AddGroupToActiveDirectorySynchronizationCompleted; + + /// + public event AddSecretPolicyCompletedEventHandler AddSecretPolicyCompleted; + + /// + public event GetNewSecretPolicyCompletedEventHandler GetNewSecretPolicyCompleted; + + /// + public event GetSSHCommandMenuCompletedEventHandler GetSSHCommandMenuCompleted; + + /// + public event SaveSSHCommandMenuCompletedEventHandler SaveSSHCommandMenuCompleted; + + /// + public event GetAllSSHCommandMenusCompletedEventHandler GetAllSSHCommandMenusCompleted; + + /// + public event DeleteSSHCommandMenuCompletedEventHandler DeleteSSHCommandMenuCompleted; + + /// + public event RestoreSSHCommandMenuCompletedEventHandler RestoreSSHCommandMenuCompleted; + + /// + public event GetReportCompletedEventHandler GetReportCompleted; + + /// + public event AddScriptCompletedEventHandler AddScriptCompleted; + + /// + public event GetAllScriptsCompletedEventHandler GetAllScriptsCompleted; + + /// + public event GetScriptCompletedEventHandler GetScriptCompleted; + + /// + public event UpdateScriptCompletedEventHandler UpdateScriptCompleted; + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/ApproveSecretAccessRequest", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public RequestApprovalResult ApproveSecretAccessRequest(string approvalId, string hours, bool userOverride) { + object[] results = this.Invoke("ApproveSecretAccessRequest", new object[] { + approvalId, + hours, + userOverride}); + return ((RequestApprovalResult)(results[0])); + } + + /// + public void ApproveSecretAccessRequestAsync(string approvalId, string hours, bool userOverride) { + this.ApproveSecretAccessRequestAsync(approvalId, hours, userOverride, null); + } + + /// + public void ApproveSecretAccessRequestAsync(string approvalId, string hours, bool userOverride, object userState) { + if ((this.ApproveSecretAccessRequestOperationCompleted == null)) { + this.ApproveSecretAccessRequestOperationCompleted = new System.Threading.SendOrPostCallback(this.OnApproveSecretAccessRequestOperationCompleted); + } + this.InvokeAsync("ApproveSecretAccessRequest", new object[] { + approvalId, + hours, + userOverride}, this.ApproveSecretAccessRequestOperationCompleted, userState); + } + + private void OnApproveSecretAccessRequestOperationCompleted(object arg) { + if ((this.ApproveSecretAccessRequestCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.ApproveSecretAccessRequestCompleted(this, new ApproveSecretAccessRequestCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/DenySecretAccessRequest", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public RequestApprovalResult DenySecretAccessRequest(string approvalId, bool userOverride) { + object[] results = this.Invoke("DenySecretAccessRequest", new object[] { + approvalId, + userOverride}); + return ((RequestApprovalResult)(results[0])); + } + + /// + public void DenySecretAccessRequestAsync(string approvalId, bool userOverride) { + this.DenySecretAccessRequestAsync(approvalId, userOverride, null); + } + + /// + public void DenySecretAccessRequestAsync(string approvalId, bool userOverride, object userState) { + if ((this.DenySecretAccessRequestOperationCompleted == null)) { + this.DenySecretAccessRequestOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDenySecretAccessRequestOperationCompleted); + } + this.InvokeAsync("DenySecretAccessRequest", new object[] { + approvalId, + userOverride}, this.DenySecretAccessRequestOperationCompleted, userState); + } + + private void OnDenySecretAccessRequestOperationCompleted(object arg) { + if ((this.DenySecretAccessRequestCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.DenySecretAccessRequestCompleted(this, new DenySecretAccessRequestCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/Authenticate", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public AuthenticateResult Authenticate(string username, string password, string organization, string domain) { + object[] results = this.Invoke("Authenticate", new object[] { + username, + password, + organization, + domain}); + return ((AuthenticateResult)(results[0])); + } + + /// + public void AuthenticateAsync(string username, string password, string organization, string domain) { + this.AuthenticateAsync(username, password, organization, domain, null); + } + + /// + public void AuthenticateAsync(string username, string password, string organization, string domain, object userState) { + if ((this.AuthenticateOperationCompleted == null)) { + this.AuthenticateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAuthenticateOperationCompleted); + } + this.InvokeAsync("Authenticate", new object[] { + username, + password, + organization, + domain}, this.AuthenticateOperationCompleted, userState); + } + + private void OnAuthenticateOperationCompleted(object arg) { + if ((this.AuthenticateCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AuthenticateCompleted(this, new AuthenticateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/ImpersonateUser", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public ImpersonateResult ImpersonateUser(string token, string username, string organization, string domain) { + object[] results = this.Invoke("ImpersonateUser", new object[] { + token, + username, + organization, + domain}); + return ((ImpersonateResult)(results[0])); + } + + /// + public void ImpersonateUserAsync(string token, string username, string organization, string domain) { + this.ImpersonateUserAsync(token, username, organization, domain, null); + } + + /// + public void ImpersonateUserAsync(string token, string username, string organization, string domain, object userState) { + if ((this.ImpersonateUserOperationCompleted == null)) { + this.ImpersonateUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnImpersonateUserOperationCompleted); + } + this.InvokeAsync("ImpersonateUser", new object[] { + token, + username, + organization, + domain}, this.ImpersonateUserOperationCompleted, userState); + } + + private void OnImpersonateUserOperationCompleted(object arg) { + if ((this.ImpersonateUserCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.ImpersonateUserCompleted(this, new ImpersonateUserCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/AuthenticateRADIUS", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public AuthenticateResult AuthenticateRADIUS(string username, string password, string organization, string domain, string radiusPassword) { + object[] results = this.Invoke("AuthenticateRADIUS", new object[] { + username, + password, + organization, + domain, + radiusPassword}); + return ((AuthenticateResult)(results[0])); + } + + /// + public void AuthenticateRADIUSAsync(string username, string password, string organization, string domain, string radiusPassword) { + this.AuthenticateRADIUSAsync(username, password, organization, domain, radiusPassword, null); + } + + /// + public void AuthenticateRADIUSAsync(string username, string password, string organization, string domain, string radiusPassword, object userState) { + if ((this.AuthenticateRADIUSOperationCompleted == null)) { + this.AuthenticateRADIUSOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAuthenticateRADIUSOperationCompleted); + } + this.InvokeAsync("AuthenticateRADIUS", new object[] { + username, + password, + organization, + domain, + radiusPassword}, this.AuthenticateRADIUSOperationCompleted, userState); + } + + private void OnAuthenticateRADIUSOperationCompleted(object arg) { + if ((this.AuthenticateRADIUSCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AuthenticateRADIUSCompleted(this, new AuthenticateRADIUSCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetTokenIsValid", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public TokenIsValidResult GetTokenIsValid(string token) { + object[] results = this.Invoke("GetTokenIsValid", new object[] { + token}); + return ((TokenIsValidResult)(results[0])); + } + + /// + public void GetTokenIsValidAsync(string token) { + this.GetTokenIsValidAsync(token, null); + } + + /// + public void GetTokenIsValidAsync(string token, object userState) { + if ((this.GetTokenIsValidOperationCompleted == null)) { + this.GetTokenIsValidOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetTokenIsValidOperationCompleted); + } + this.InvokeAsync("GetTokenIsValid", new object[] { + token}, this.GetTokenIsValidOperationCompleted, userState); + } + + private void OnGetTokenIsValidOperationCompleted(object arg) { + if ((this.GetTokenIsValidCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetTokenIsValidCompleted(this, new GetTokenIsValidCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetSecretLegacy", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetSecretResult GetSecretLegacy(string token, int secretId) { + object[] results = this.Invoke("GetSecretLegacy", new object[] { + token, + secretId}); + return ((GetSecretResult)(results[0])); + } + + /// + public void GetSecretLegacyAsync(string token, int secretId) { + this.GetSecretLegacyAsync(token, secretId, null); + } + + /// + public void GetSecretLegacyAsync(string token, int secretId, object userState) { + if ((this.GetSecretLegacyOperationCompleted == null)) { + this.GetSecretLegacyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSecretLegacyOperationCompleted); + } + this.InvokeAsync("GetSecretLegacy", new object[] { + token, + secretId}, this.GetSecretLegacyOperationCompleted, userState); + } + + private void OnGetSecretLegacyOperationCompleted(object arg) { + if ((this.GetSecretLegacyCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetSecretLegacyCompleted(this, new GetSecretLegacyCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetSecret", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetSecretResult GetSecret(string token, int secretId, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] System.Nullable loadSettingsAndPermissions, CodeResponse[] codeResponses) { + object[] results = this.Invoke("GetSecret", new object[] { + token, + secretId, + loadSettingsAndPermissions, + codeResponses}); + return ((GetSecretResult)(results[0])); + } + + /// + public void GetSecretAsync(string token, int secretId, System.Nullable loadSettingsAndPermissions, CodeResponse[] codeResponses) { + this.GetSecretAsync(token, secretId, loadSettingsAndPermissions, codeResponses, null); + } + + /// + public void GetSecretAsync(string token, int secretId, System.Nullable loadSettingsAndPermissions, CodeResponse[] codeResponses, object userState) { + if ((this.GetSecretOperationCompleted == null)) { + this.GetSecretOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSecretOperationCompleted); + } + this.InvokeAsync("GetSecret", new object[] { + token, + secretId, + loadSettingsAndPermissions, + codeResponses}, this.GetSecretOperationCompleted, userState); + } + + private void OnGetSecretOperationCompleted(object arg) { + if ((this.GetSecretCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetSecretCompleted(this, new GetSecretCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetCheckOutStatus", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetCheckOutStatusResult GetCheckOutStatus(string token, int secretId) { + object[] results = this.Invoke("GetCheckOutStatus", new object[] { + token, + secretId}); + return ((GetCheckOutStatusResult)(results[0])); + } + + /// + public void GetCheckOutStatusAsync(string token, int secretId) { + this.GetCheckOutStatusAsync(token, secretId, null); + } + + /// + public void GetCheckOutStatusAsync(string token, int secretId, object userState) { + if ((this.GetCheckOutStatusOperationCompleted == null)) { + this.GetCheckOutStatusOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetCheckOutStatusOperationCompleted); + } + this.InvokeAsync("GetCheckOutStatus", new object[] { + token, + secretId}, this.GetCheckOutStatusOperationCompleted, userState); + } + + private void OnGetCheckOutStatusOperationCompleted(object arg) { + if ((this.GetCheckOutStatusCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetCheckOutStatusCompleted(this, new GetCheckOutStatusCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/ChangePassword", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult ChangePassword(string token, string currentPassword, string newPassword) { + object[] results = this.Invoke("ChangePassword", new object[] { + token, + currentPassword, + newPassword}); + return ((WebServiceResult)(results[0])); + } + + /// + public void ChangePasswordAsync(string token, string currentPassword, string newPassword) { + this.ChangePasswordAsync(token, currentPassword, newPassword, null); + } + + /// + public void ChangePasswordAsync(string token, string currentPassword, string newPassword, object userState) { + if ((this.ChangePasswordOperationCompleted == null)) { + this.ChangePasswordOperationCompleted = new System.Threading.SendOrPostCallback(this.OnChangePasswordOperationCompleted); + } + this.InvokeAsync("ChangePassword", new object[] { + token, + currentPassword, + newPassword}, this.ChangePasswordOperationCompleted, userState); + } + + private void OnChangePasswordOperationCompleted(object arg) { + if ((this.ChangePasswordCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.ChangePasswordCompleted(this, new ChangePasswordCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetSecretsByFieldValue", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetSecretsByFieldValueResult GetSecretsByFieldValue(string token, string fieldName, string searchTerm, bool showDeleted) { + object[] results = this.Invoke("GetSecretsByFieldValue", new object[] { + token, + fieldName, + searchTerm, + showDeleted}); + return ((GetSecretsByFieldValueResult)(results[0])); + } + + /// + public void GetSecretsByFieldValueAsync(string token, string fieldName, string searchTerm, bool showDeleted) { + this.GetSecretsByFieldValueAsync(token, fieldName, searchTerm, showDeleted, null); + } + + /// + public void GetSecretsByFieldValueAsync(string token, string fieldName, string searchTerm, bool showDeleted, object userState) { + if ((this.GetSecretsByFieldValueOperationCompleted == null)) { + this.GetSecretsByFieldValueOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSecretsByFieldValueOperationCompleted); + } + this.InvokeAsync("GetSecretsByFieldValue", new object[] { + token, + fieldName, + searchTerm, + showDeleted}, this.GetSecretsByFieldValueOperationCompleted, userState); + } + + private void OnGetSecretsByFieldValueOperationCompleted(object arg) { + if ((this.GetSecretsByFieldValueCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetSecretsByFieldValueCompleted(this, new GetSecretsByFieldValueCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/SearchSecretsByFieldValue", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SearchSecretsResult SearchSecretsByFieldValue(string token, string fieldName, string searchTerm, bool showDeleted, bool showRestricted) { + object[] results = this.Invoke("SearchSecretsByFieldValue", new object[] { + token, + fieldName, + searchTerm, + showDeleted, + showRestricted}); + return ((SearchSecretsResult)(results[0])); + } + + /// + public void SearchSecretsByFieldValueAsync(string token, string fieldName, string searchTerm, bool showDeleted, bool showRestricted) { + this.SearchSecretsByFieldValueAsync(token, fieldName, searchTerm, showDeleted, showRestricted, null); + } + + /// + public void SearchSecretsByFieldValueAsync(string token, string fieldName, string searchTerm, bool showDeleted, bool showRestricted, object userState) { + if ((this.SearchSecretsByFieldValueOperationCompleted == null)) { + this.SearchSecretsByFieldValueOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSearchSecretsByFieldValueOperationCompleted); + } + this.InvokeAsync("SearchSecretsByFieldValue", new object[] { + token, + fieldName, + searchTerm, + showDeleted, + showRestricted}, this.SearchSecretsByFieldValueOperationCompleted, userState); + } + + private void OnSearchSecretsByFieldValueOperationCompleted(object arg) { + if ((this.SearchSecretsByFieldValueCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.SearchSecretsByFieldValueCompleted(this, new SearchSecretsByFieldValueCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetSecretsByExposedFieldValue", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetSecretsByFieldValueResult GetSecretsByExposedFieldValue(string token, string fieldName, string searchTerm, bool showDeleted, bool showPartialMatches) { + object[] results = this.Invoke("GetSecretsByExposedFieldValue", new object[] { + token, + fieldName, + searchTerm, + showDeleted, + showPartialMatches}); + return ((GetSecretsByFieldValueResult)(results[0])); + } + + /// + public void GetSecretsByExposedFieldValueAsync(string token, string fieldName, string searchTerm, bool showDeleted, bool showPartialMatches) { + this.GetSecretsByExposedFieldValueAsync(token, fieldName, searchTerm, showDeleted, showPartialMatches, null); + } + + /// + public void GetSecretsByExposedFieldValueAsync(string token, string fieldName, string searchTerm, bool showDeleted, bool showPartialMatches, object userState) { + if ((this.GetSecretsByExposedFieldValueOperationCompleted == null)) { + this.GetSecretsByExposedFieldValueOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSecretsByExposedFieldValueOperationCompleted); + } + this.InvokeAsync("GetSecretsByExposedFieldValue", new object[] { + token, + fieldName, + searchTerm, + showDeleted, + showPartialMatches}, this.GetSecretsByExposedFieldValueOperationCompleted, userState); + } + + private void OnGetSecretsByExposedFieldValueOperationCompleted(object arg) { + if ((this.GetSecretsByExposedFieldValueCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetSecretsByExposedFieldValueCompleted(this, new GetSecretsByExposedFieldValueCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/SearchSecretsByExposedFieldValue", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SearchSecretsResult SearchSecretsByExposedFieldValue(string token, string fieldName, string searchTerm, bool showDeleted, bool showRestricted, bool showPartialMatches) { + object[] results = this.Invoke("SearchSecretsByExposedFieldValue", new object[] { + token, + fieldName, + searchTerm, + showDeleted, + showRestricted, + showPartialMatches}); + return ((SearchSecretsResult)(results[0])); + } + + /// + public void SearchSecretsByExposedFieldValueAsync(string token, string fieldName, string searchTerm, bool showDeleted, bool showRestricted, bool showPartialMatches) { + this.SearchSecretsByExposedFieldValueAsync(token, fieldName, searchTerm, showDeleted, showRestricted, showPartialMatches, null); + } + + /// + public void SearchSecretsByExposedFieldValueAsync(string token, string fieldName, string searchTerm, bool showDeleted, bool showRestricted, bool showPartialMatches, object userState) { + if ((this.SearchSecretsByExposedFieldValueOperationCompleted == null)) { + this.SearchSecretsByExposedFieldValueOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSearchSecretsByExposedFieldValueOperationCompleted); + } + this.InvokeAsync("SearchSecretsByExposedFieldValue", new object[] { + token, + fieldName, + searchTerm, + showDeleted, + showRestricted, + showPartialMatches}, this.SearchSecretsByExposedFieldValueOperationCompleted, userState); + } + + private void OnSearchSecretsByExposedFieldValueOperationCompleted(object arg) { + if ((this.SearchSecretsByExposedFieldValueCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.SearchSecretsByExposedFieldValueCompleted(this, new SearchSecretsByExposedFieldValueCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/SearchSecretsByExposedValues", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SearchSecretsResult SearchSecretsByExposedValues(string token, string searchTerm, bool showDeleted, bool showRestricted, bool showPartialMatches) { + object[] results = this.Invoke("SearchSecretsByExposedValues", new object[] { + token, + searchTerm, + showDeleted, + showRestricted, + showPartialMatches}); + return ((SearchSecretsResult)(results[0])); + } + + /// + public void SearchSecretsByExposedValuesAsync(string token, string searchTerm, bool showDeleted, bool showRestricted, bool showPartialMatches) { + this.SearchSecretsByExposedValuesAsync(token, searchTerm, showDeleted, showRestricted, showPartialMatches, null); + } + + /// + public void SearchSecretsByExposedValuesAsync(string token, string searchTerm, bool showDeleted, bool showRestricted, bool showPartialMatches, object userState) { + if ((this.SearchSecretsByExposedValuesOperationCompleted == null)) { + this.SearchSecretsByExposedValuesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSearchSecretsByExposedValuesOperationCompleted); + } + this.InvokeAsync("SearchSecretsByExposedValues", new object[] { + token, + searchTerm, + showDeleted, + showRestricted, + showPartialMatches}, this.SearchSecretsByExposedValuesOperationCompleted, userState); + } + + private void OnSearchSecretsByExposedValuesOperationCompleted(object arg) { + if ((this.SearchSecretsByExposedValuesCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.SearchSecretsByExposedValuesCompleted(this, new SearchSecretsByExposedValuesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/AddUser", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult AddUser(string token, User newUser) { + object[] results = this.Invoke("AddUser", new object[] { + token, + newUser}); + return ((WebServiceResult)(results[0])); + } + + /// + public void AddUserAsync(string token, User newUser) { + this.AddUserAsync(token, newUser, null); + } + + /// + public void AddUserAsync(string token, User newUser, object userState) { + if ((this.AddUserOperationCompleted == null)) { + this.AddUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddUserOperationCompleted); + } + this.InvokeAsync("AddUser", new object[] { + token, + newUser}, this.AddUserOperationCompleted, userState); + } + + private void OnAddUserOperationCompleted(object arg) { + if ((this.AddUserCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AddUserCompleted(this, new AddUserCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/SearchSecrets", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SearchSecretsResult SearchSecrets(string token, string searchTerm, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] System.Nullable includeDeleted, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] System.Nullable includeRestricted) { + object[] results = this.Invoke("SearchSecrets", new object[] { + token, + searchTerm, + includeDeleted, + includeRestricted}); + return ((SearchSecretsResult)(results[0])); + } + + /// + public void SearchSecretsAsync(string token, string searchTerm, System.Nullable includeDeleted, System.Nullable includeRestricted) { + this.SearchSecretsAsync(token, searchTerm, includeDeleted, includeRestricted, null); + } + + /// + public void SearchSecretsAsync(string token, string searchTerm, System.Nullable includeDeleted, System.Nullable includeRestricted, object userState) { + if ((this.SearchSecretsOperationCompleted == null)) { + this.SearchSecretsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSearchSecretsOperationCompleted); + } + this.InvokeAsync("SearchSecrets", new object[] { + token, + searchTerm, + includeDeleted, + includeRestricted}, this.SearchSecretsOperationCompleted, userState); + } + + private void OnSearchSecretsOperationCompleted(object arg) { + if ((this.SearchSecretsCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.SearchSecretsCompleted(this, new SearchSecretsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/SearchSecretsLegacy", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SearchSecretsResult SearchSecretsLegacy(string token, string searchTerm) { + object[] results = this.Invoke("SearchSecretsLegacy", new object[] { + token, + searchTerm}); + return ((SearchSecretsResult)(results[0])); + } + + /// + public void SearchSecretsLegacyAsync(string token, string searchTerm) { + this.SearchSecretsLegacyAsync(token, searchTerm, null); + } + + /// + public void SearchSecretsLegacyAsync(string token, string searchTerm, object userState) { + if ((this.SearchSecretsLegacyOperationCompleted == null)) { + this.SearchSecretsLegacyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSearchSecretsLegacyOperationCompleted); + } + this.InvokeAsync("SearchSecretsLegacy", new object[] { + token, + searchTerm}, this.SearchSecretsLegacyOperationCompleted, userState); + } + + private void OnSearchSecretsLegacyOperationCompleted(object arg) { + if ((this.SearchSecretsLegacyCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.SearchSecretsLegacyCompleted(this, new SearchSecretsLegacyCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/SearchSecretsByFolder", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SearchSecretsResult SearchSecretsByFolder(string token, string searchTerm, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] System.Nullable folderId, bool includeSubFolders, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] System.Nullable includeDeleted, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] System.Nullable includeRestricted) { + object[] results = this.Invoke("SearchSecretsByFolder", new object[] { + token, + searchTerm, + folderId, + includeSubFolders, + includeDeleted, + includeRestricted}); + return ((SearchSecretsResult)(results[0])); + } + + /// + public void SearchSecretsByFolderAsync(string token, string searchTerm, System.Nullable folderId, bool includeSubFolders, System.Nullable includeDeleted, System.Nullable includeRestricted) { + this.SearchSecretsByFolderAsync(token, searchTerm, folderId, includeSubFolders, includeDeleted, includeRestricted, null); + } + + /// + public void SearchSecretsByFolderAsync(string token, string searchTerm, System.Nullable folderId, bool includeSubFolders, System.Nullable includeDeleted, System.Nullable includeRestricted, object userState) { + if ((this.SearchSecretsByFolderOperationCompleted == null)) { + this.SearchSecretsByFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSearchSecretsByFolderOperationCompleted); + } + this.InvokeAsync("SearchSecretsByFolder", new object[] { + token, + searchTerm, + folderId, + includeSubFolders, + includeDeleted, + includeRestricted}, this.SearchSecretsByFolderOperationCompleted, userState); + } + + private void OnSearchSecretsByFolderOperationCompleted(object arg) { + if ((this.SearchSecretsByFolderCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.SearchSecretsByFolderCompleted(this, new SearchSecretsByFolderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/SearchSecretsByFolderLegacy", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SearchSecretsResult SearchSecretsByFolderLegacy(string token, string searchTerm, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] System.Nullable folderId, bool includeSubFolders) { + object[] results = this.Invoke("SearchSecretsByFolderLegacy", new object[] { + token, + searchTerm, + folderId, + includeSubFolders}); + return ((SearchSecretsResult)(results[0])); + } + + /// + public void SearchSecretsByFolderLegacyAsync(string token, string searchTerm, System.Nullable folderId, bool includeSubFolders) { + this.SearchSecretsByFolderLegacyAsync(token, searchTerm, folderId, includeSubFolders, null); + } + + /// + public void SearchSecretsByFolderLegacyAsync(string token, string searchTerm, System.Nullable folderId, bool includeSubFolders, object userState) { + if ((this.SearchSecretsByFolderLegacyOperationCompleted == null)) { + this.SearchSecretsByFolderLegacyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSearchSecretsByFolderLegacyOperationCompleted); + } + this.InvokeAsync("SearchSecretsByFolderLegacy", new object[] { + token, + searchTerm, + folderId, + includeSubFolders}, this.SearchSecretsByFolderLegacyOperationCompleted, userState); + } + + private void OnSearchSecretsByFolderLegacyOperationCompleted(object arg) { + if ((this.SearchSecretsByFolderLegacyCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.SearchSecretsByFolderLegacyCompleted(this, new SearchSecretsByFolderLegacyCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetFavorites", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetFavoritesResult GetFavorites(string token, bool includeRestricted) { + object[] results = this.Invoke("GetFavorites", new object[] { + token, + includeRestricted}); + return ((GetFavoritesResult)(results[0])); + } + + /// + public void GetFavoritesAsync(string token, bool includeRestricted) { + this.GetFavoritesAsync(token, includeRestricted, null); + } + + /// + public void GetFavoritesAsync(string token, bool includeRestricted, object userState) { + if ((this.GetFavoritesOperationCompleted == null)) { + this.GetFavoritesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetFavoritesOperationCompleted); + } + this.InvokeAsync("GetFavorites", new object[] { + token, + includeRestricted}, this.GetFavoritesOperationCompleted, userState); + } + + private void OnGetFavoritesOperationCompleted(object arg) { + if ((this.GetFavoritesCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetFavoritesCompleted(this, new GetFavoritesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/UpdateIsFavorite", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult UpdateIsFavorite(string token, int secretId, bool isFavorite) { + object[] results = this.Invoke("UpdateIsFavorite", new object[] { + token, + secretId, + isFavorite}); + return ((WebServiceResult)(results[0])); + } + + /// + public void UpdateIsFavoriteAsync(string token, int secretId, bool isFavorite) { + this.UpdateIsFavoriteAsync(token, secretId, isFavorite, null); + } + + /// + public void UpdateIsFavoriteAsync(string token, int secretId, bool isFavorite, object userState) { + if ((this.UpdateIsFavoriteOperationCompleted == null)) { + this.UpdateIsFavoriteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateIsFavoriteOperationCompleted); + } + this.InvokeAsync("UpdateIsFavorite", new object[] { + token, + secretId, + isFavorite}, this.UpdateIsFavoriteOperationCompleted, userState); + } + + private void OnUpdateIsFavoriteOperationCompleted(object arg) { + if ((this.UpdateIsFavoriteCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.UpdateIsFavoriteCompleted(this, new UpdateIsFavoriteCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/AddSecret", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public AddSecretResult AddSecret(string token, int secretTypeId, string secretName, int[] secretFieldIds, string[] secretItemValues, int folderId) { + object[] results = this.Invoke("AddSecret", new object[] { + token, + secretTypeId, + secretName, + secretFieldIds, + secretItemValues, + folderId}); + return ((AddSecretResult)(results[0])); + } + + /// + public void AddSecretAsync(string token, int secretTypeId, string secretName, int[] secretFieldIds, string[] secretItemValues, int folderId) { + this.AddSecretAsync(token, secretTypeId, secretName, secretFieldIds, secretItemValues, folderId, null); + } + + /// + public void AddSecretAsync(string token, int secretTypeId, string secretName, int[] secretFieldIds, string[] secretItemValues, int folderId, object userState) { + if ((this.AddSecretOperationCompleted == null)) { + this.AddSecretOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddSecretOperationCompleted); + } + this.InvokeAsync("AddSecret", new object[] { + token, + secretTypeId, + secretName, + secretFieldIds, + secretItemValues, + folderId}, this.AddSecretOperationCompleted, userState); + } + + private void OnAddSecretOperationCompleted(object arg) { + if ((this.AddSecretCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AddSecretCompleted(this, new AddSecretCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/AddNewSecret", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public AddSecretResult AddNewSecret(string token, Secret secret) { + object[] results = this.Invoke("AddNewSecret", new object[] { + token, + secret}); + return ((AddSecretResult)(results[0])); + } + + /// + public void AddNewSecretAsync(string token, Secret secret) { + this.AddNewSecretAsync(token, secret, null); + } + + /// + public void AddNewSecretAsync(string token, Secret secret, object userState) { + if ((this.AddNewSecretOperationCompleted == null)) { + this.AddNewSecretOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddNewSecretOperationCompleted); + } + this.InvokeAsync("AddNewSecret", new object[] { + token, + secret}, this.AddNewSecretOperationCompleted, userState); + } + + private void OnAddNewSecretOperationCompleted(object arg) { + if ((this.AddNewSecretCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AddNewSecretCompleted(this, new AddNewSecretCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetNewSecret", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetSecretResult GetNewSecret(string token, int secretTypeId, int folderId) { + object[] results = this.Invoke("GetNewSecret", new object[] { + token, + secretTypeId, + folderId}); + return ((GetSecretResult)(results[0])); + } + + /// + public void GetNewSecretAsync(string token, int secretTypeId, int folderId) { + this.GetNewSecretAsync(token, secretTypeId, folderId, null); + } + + /// + public void GetNewSecretAsync(string token, int secretTypeId, int folderId, object userState) { + if ((this.GetNewSecretOperationCompleted == null)) { + this.GetNewSecretOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetNewSecretOperationCompleted); + } + this.InvokeAsync("GetNewSecret", new object[] { + token, + secretTypeId, + folderId}, this.GetNewSecretOperationCompleted, userState); + } + + private void OnGetNewSecretOperationCompleted(object arg) { + if ((this.GetNewSecretCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetNewSecretCompleted(this, new GetNewSecretCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetSecretTemplateFields", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetSecretTemplateFieldsResult GetSecretTemplateFields(string token, int secretTypeId) { + object[] results = this.Invoke("GetSecretTemplateFields", new object[] { + token, + secretTypeId}); + return ((GetSecretTemplateFieldsResult)(results[0])); + } + + /// + public void GetSecretTemplateFieldsAsync(string token, int secretTypeId) { + this.GetSecretTemplateFieldsAsync(token, secretTypeId, null); + } + + /// + public void GetSecretTemplateFieldsAsync(string token, int secretTypeId, object userState) { + if ((this.GetSecretTemplateFieldsOperationCompleted == null)) { + this.GetSecretTemplateFieldsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSecretTemplateFieldsOperationCompleted); + } + this.InvokeAsync("GetSecretTemplateFields", new object[] { + token, + secretTypeId}, this.GetSecretTemplateFieldsOperationCompleted, userState); + } + + private void OnGetSecretTemplateFieldsOperationCompleted(object arg) { + if ((this.GetSecretTemplateFieldsCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetSecretTemplateFieldsCompleted(this, new GetSecretTemplateFieldsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/UpdateSecret", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult UpdateSecret(string token, Secret secret) { + object[] results = this.Invoke("UpdateSecret", new object[] { + token, + secret}); + return ((WebServiceResult)(results[0])); + } + + /// + public void UpdateSecretAsync(string token, Secret secret) { + this.UpdateSecretAsync(token, secret, null); + } + + /// + public void UpdateSecretAsync(string token, Secret secret, object userState) { + if ((this.UpdateSecretOperationCompleted == null)) { + this.UpdateSecretOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateSecretOperationCompleted); + } + this.InvokeAsync("UpdateSecret", new object[] { + token, + secret}, this.UpdateSecretOperationCompleted, userState); + } + + private void OnUpdateSecretOperationCompleted(object arg) { + if ((this.UpdateSecretCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.UpdateSecretCompleted(this, new UpdateSecretCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetSecretTemplates", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetSecretTemplatesResult GetSecretTemplates(string token) { + object[] results = this.Invoke("GetSecretTemplates", new object[] { + token}); + return ((GetSecretTemplatesResult)(results[0])); + } + + /// + public void GetSecretTemplatesAsync(string token) { + this.GetSecretTemplatesAsync(token, null); + } + + /// + public void GetSecretTemplatesAsync(string token, object userState) { + if ((this.GetSecretTemplatesOperationCompleted == null)) { + this.GetSecretTemplatesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSecretTemplatesOperationCompleted); + } + this.InvokeAsync("GetSecretTemplates", new object[] { + token}, this.GetSecretTemplatesOperationCompleted, userState); + } + + private void OnGetSecretTemplatesOperationCompleted(object arg) { + if ((this.GetSecretTemplatesCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetSecretTemplatesCompleted(this, new GetSecretTemplatesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GeneratePassword", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GeneratePasswordResult GeneratePassword(string token, int secretFieldId) { + object[] results = this.Invoke("GeneratePassword", new object[] { + token, + secretFieldId}); + return ((GeneratePasswordResult)(results[0])); + } + + /// + public void GeneratePasswordAsync(string token, int secretFieldId) { + this.GeneratePasswordAsync(token, secretFieldId, null); + } + + /// + public void GeneratePasswordAsync(string token, int secretFieldId, object userState) { + if ((this.GeneratePasswordOperationCompleted == null)) { + this.GeneratePasswordOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGeneratePasswordOperationCompleted); + } + this.InvokeAsync("GeneratePassword", new object[] { + token, + secretFieldId}, this.GeneratePasswordOperationCompleted, userState); + } + + private void OnGeneratePasswordOperationCompleted(object arg) { + if ((this.GeneratePasswordCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GeneratePasswordCompleted(this, new GeneratePasswordCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/DeactivateSecret", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult DeactivateSecret(string token, int secretId) { + object[] results = this.Invoke("DeactivateSecret", new object[] { + token, + secretId}); + return ((WebServiceResult)(results[0])); + } + + /// + public void DeactivateSecretAsync(string token, int secretId) { + this.DeactivateSecretAsync(token, secretId, null); + } + + /// + public void DeactivateSecretAsync(string token, int secretId, object userState) { + if ((this.DeactivateSecretOperationCompleted == null)) { + this.DeactivateSecretOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeactivateSecretOperationCompleted); + } + this.InvokeAsync("DeactivateSecret", new object[] { + token, + secretId}, this.DeactivateSecretOperationCompleted, userState); + } + + private void OnDeactivateSecretOperationCompleted(object arg) { + if ((this.DeactivateSecretCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.DeactivateSecretCompleted(this, new DeactivateSecretCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/VersionGet", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public VersionGetResult VersionGet() { + object[] results = this.Invoke("VersionGet", new object[0]); + return ((VersionGetResult)(results[0])); + } + + /// + public void VersionGetAsync() { + this.VersionGetAsync(null); + } + + /// + public void VersionGetAsync(object userState) { + if ((this.VersionGetOperationCompleted == null)) { + this.VersionGetOperationCompleted = new System.Threading.SendOrPostCallback(this.OnVersionGetOperationCompleted); + } + this.InvokeAsync("VersionGet", new object[0], this.VersionGetOperationCompleted, userState); + } + + private void OnVersionGetOperationCompleted(object arg) { + if ((this.VersionGetCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.VersionGetCompleted(this, new VersionGetCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/FolderGet", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetFolderResult FolderGet(string token, int folderId) { + object[] results = this.Invoke("FolderGet", new object[] { + token, + folderId}); + return ((GetFolderResult)(results[0])); + } + + /// + public void FolderGetAsync(string token, int folderId) { + this.FolderGetAsync(token, folderId, null); + } + + /// + public void FolderGetAsync(string token, int folderId, object userState) { + if ((this.FolderGetOperationCompleted == null)) { + this.FolderGetOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFolderGetOperationCompleted); + } + this.InvokeAsync("FolderGet", new object[] { + token, + folderId}, this.FolderGetOperationCompleted, userState); + } + + private void OnFolderGetOperationCompleted(object arg) { + if ((this.FolderGetCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.FolderGetCompleted(this, new FolderGetCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/FolderUpdate", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult FolderUpdate(string token, Folder modifiedFolder) { + object[] results = this.Invoke("FolderUpdate", new object[] { + token, + modifiedFolder}); + return ((WebServiceResult)(results[0])); + } + + /// + public void FolderUpdateAsync(string token, Folder modifiedFolder) { + this.FolderUpdateAsync(token, modifiedFolder, null); + } + + /// + public void FolderUpdateAsync(string token, Folder modifiedFolder, object userState) { + if ((this.FolderUpdateOperationCompleted == null)) { + this.FolderUpdateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFolderUpdateOperationCompleted); + } + this.InvokeAsync("FolderUpdate", new object[] { + token, + modifiedFolder}, this.FolderUpdateOperationCompleted, userState); + } + + private void OnFolderUpdateOperationCompleted(object arg) { + if ((this.FolderUpdateCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.FolderUpdateCompleted(this, new FolderUpdateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/FolderGetAllChildren", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetFoldersResult FolderGetAllChildren(string token, int parentFolderId) { + object[] results = this.Invoke("FolderGetAllChildren", new object[] { + token, + parentFolderId}); + return ((GetFoldersResult)(results[0])); + } + + /// + public void FolderGetAllChildrenAsync(string token, int parentFolderId) { + this.FolderGetAllChildrenAsync(token, parentFolderId, null); + } + + /// + public void FolderGetAllChildrenAsync(string token, int parentFolderId, object userState) { + if ((this.FolderGetAllChildrenOperationCompleted == null)) { + this.FolderGetAllChildrenOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFolderGetAllChildrenOperationCompleted); + } + this.InvokeAsync("FolderGetAllChildren", new object[] { + token, + parentFolderId}, this.FolderGetAllChildrenOperationCompleted, userState); + } + + private void OnFolderGetAllChildrenOperationCompleted(object arg) { + if ((this.FolderGetAllChildrenCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.FolderGetAllChildrenCompleted(this, new FolderGetAllChildrenCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/FolderCreate", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public CreateFolderResult FolderCreate(string token, string folderName, int parentFolderId, int folderTypeId) { + object[] results = this.Invoke("FolderCreate", new object[] { + token, + folderName, + parentFolderId, + folderTypeId}); + return ((CreateFolderResult)(results[0])); + } + + /// + public void FolderCreateAsync(string token, string folderName, int parentFolderId, int folderTypeId) { + this.FolderCreateAsync(token, folderName, parentFolderId, folderTypeId, null); + } + + /// + public void FolderCreateAsync(string token, string folderName, int parentFolderId, int folderTypeId, object userState) { + if ((this.FolderCreateOperationCompleted == null)) { + this.FolderCreateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFolderCreateOperationCompleted); + } + this.InvokeAsync("FolderCreate", new object[] { + token, + folderName, + parentFolderId, + folderTypeId}, this.FolderCreateOperationCompleted, userState); + } + + private void OnFolderCreateOperationCompleted(object arg) { + if ((this.FolderCreateCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.FolderCreateCompleted(this, new FolderCreateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/FolderExtendedCreate", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public FolderExtendedCreateResult FolderExtendedCreate(string token, FolderExtended folder) { + object[] results = this.Invoke("FolderExtendedCreate", new object[] { + token, + folder}); + return ((FolderExtendedCreateResult)(results[0])); + } + + /// + public void FolderExtendedCreateAsync(string token, FolderExtended folder) { + this.FolderExtendedCreateAsync(token, folder, null); + } + + /// + public void FolderExtendedCreateAsync(string token, FolderExtended folder, object userState) { + if ((this.FolderExtendedCreateOperationCompleted == null)) { + this.FolderExtendedCreateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFolderExtendedCreateOperationCompleted); + } + this.InvokeAsync("FolderExtendedCreate", new object[] { + token, + folder}, this.FolderExtendedCreateOperationCompleted, userState); + } + + private void OnFolderExtendedCreateOperationCompleted(object arg) { + if ((this.FolderExtendedCreateCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.FolderExtendedCreateCompleted(this, new FolderExtendedCreateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/FolderExtendedGet", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public FolderExtendedGetResult FolderExtendedGet(string token, int folderId) { + object[] results = this.Invoke("FolderExtendedGet", new object[] { + token, + folderId}); + return ((FolderExtendedGetResult)(results[0])); + } + + /// + public void FolderExtendedGetAsync(string token, int folderId) { + this.FolderExtendedGetAsync(token, folderId, null); + } + + /// + public void FolderExtendedGetAsync(string token, int folderId, object userState) { + if ((this.FolderExtendedGetOperationCompleted == null)) { + this.FolderExtendedGetOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFolderExtendedGetOperationCompleted); + } + this.InvokeAsync("FolderExtendedGet", new object[] { + token, + folderId}, this.FolderExtendedGetOperationCompleted, userState); + } + + private void OnFolderExtendedGetOperationCompleted(object arg) { + if ((this.FolderExtendedGetCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.FolderExtendedGetCompleted(this, new FolderExtendedGetCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/FolderExtendedUpdate", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public FolderExtendedUpdateResult FolderExtendedUpdate(string token, FolderExtended folder) { + object[] results = this.Invoke("FolderExtendedUpdate", new object[] { + token, + folder}); + return ((FolderExtendedUpdateResult)(results[0])); + } + + /// + public void FolderExtendedUpdateAsync(string token, FolderExtended folder) { + this.FolderExtendedUpdateAsync(token, folder, null); + } + + /// + public void FolderExtendedUpdateAsync(string token, FolderExtended folder, object userState) { + if ((this.FolderExtendedUpdateOperationCompleted == null)) { + this.FolderExtendedUpdateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFolderExtendedUpdateOperationCompleted); + } + this.InvokeAsync("FolderExtendedUpdate", new object[] { + token, + folder}, this.FolderExtendedUpdateOperationCompleted, userState); + } + + private void OnFolderExtendedUpdateOperationCompleted(object arg) { + if ((this.FolderExtendedUpdateCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.FolderExtendedUpdateCompleted(this, new FolderExtendedUpdateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/FolderExtendedGetNew", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public FolderExtendedGetNewResult FolderExtendedGetNew(string token, FolderExtendedGetNewRequest folderExtendedGetNewRequest) { + object[] results = this.Invoke("FolderExtendedGetNew", new object[] { + token, + folderExtendedGetNewRequest}); + return ((FolderExtendedGetNewResult)(results[0])); + } + + /// + public void FolderExtendedGetNewAsync(string token, FolderExtendedGetNewRequest folderExtendedGetNewRequest) { + this.FolderExtendedGetNewAsync(token, folderExtendedGetNewRequest, null); + } + + /// + public void FolderExtendedGetNewAsync(string token, FolderExtendedGetNewRequest folderExtendedGetNewRequest, object userState) { + if ((this.FolderExtendedGetNewOperationCompleted == null)) { + this.FolderExtendedGetNewOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFolderExtendedGetNewOperationCompleted); + } + this.InvokeAsync("FolderExtendedGetNew", new object[] { + token, + folderExtendedGetNewRequest}, this.FolderExtendedGetNewOperationCompleted, userState); + } + + private void OnFolderExtendedGetNewOperationCompleted(object arg) { + if ((this.FolderExtendedGetNewCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.FolderExtendedGetNewCompleted(this, new FolderExtendedGetNewCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/SearchFolders", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SearchFolderResult SearchFolders(string token, string folderName) { + object[] results = this.Invoke("SearchFolders", new object[] { + token, + folderName}); + return ((SearchFolderResult)(results[0])); + } + + /// + public void SearchFoldersAsync(string token, string folderName) { + this.SearchFoldersAsync(token, folderName, null); + } + + /// + public void SearchFoldersAsync(string token, string folderName, object userState) { + if ((this.SearchFoldersOperationCompleted == null)) { + this.SearchFoldersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSearchFoldersOperationCompleted); + } + this.InvokeAsync("SearchFolders", new object[] { + token, + folderName}, this.SearchFoldersOperationCompleted, userState); + } + + private void OnSearchFoldersOperationCompleted(object arg) { + if ((this.SearchFoldersCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.SearchFoldersCompleted(this, new SearchFoldersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/DownloadFileAttachment", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public FileDownloadResult DownloadFileAttachment(string token, int secretId) { + object[] results = this.Invoke("DownloadFileAttachment", new object[] { + token, + secretId}); + return ((FileDownloadResult)(results[0])); + } + + /// + public void DownloadFileAttachmentAsync(string token, int secretId) { + this.DownloadFileAttachmentAsync(token, secretId, null); + } + + /// + public void DownloadFileAttachmentAsync(string token, int secretId, object userState) { + if ((this.DownloadFileAttachmentOperationCompleted == null)) { + this.DownloadFileAttachmentOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDownloadFileAttachmentOperationCompleted); + } + this.InvokeAsync("DownloadFileAttachment", new object[] { + token, + secretId}, this.DownloadFileAttachmentOperationCompleted, userState); + } + + private void OnDownloadFileAttachmentOperationCompleted(object arg) { + if ((this.DownloadFileAttachmentCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.DownloadFileAttachmentCompleted(this, new DownloadFileAttachmentCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/DownloadFileAttachmentByItemId", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public FileDownloadResult DownloadFileAttachmentByItemId(string token, int secretId, int secretItemId) { + object[] results = this.Invoke("DownloadFileAttachmentByItemId", new object[] { + token, + secretId, + secretItemId}); + return ((FileDownloadResult)(results[0])); + } + + /// + public void DownloadFileAttachmentByItemIdAsync(string token, int secretId, int secretItemId) { + this.DownloadFileAttachmentByItemIdAsync(token, secretId, secretItemId, null); + } + + /// + public void DownloadFileAttachmentByItemIdAsync(string token, int secretId, int secretItemId, object userState) { + if ((this.DownloadFileAttachmentByItemIdOperationCompleted == null)) { + this.DownloadFileAttachmentByItemIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDownloadFileAttachmentByItemIdOperationCompleted); + } + this.InvokeAsync("DownloadFileAttachmentByItemId", new object[] { + token, + secretId, + secretItemId}, this.DownloadFileAttachmentByItemIdOperationCompleted, userState); + } + + private void OnDownloadFileAttachmentByItemIdOperationCompleted(object arg) { + if ((this.DownloadFileAttachmentByItemIdCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.DownloadFileAttachmentByItemIdCompleted(this, new DownloadFileAttachmentByItemIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/UploadFileAttachment", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult UploadFileAttachment(string token, int secretId, [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] byte[] fileData, string fileName) { + object[] results = this.Invoke("UploadFileAttachment", new object[] { + token, + secretId, + fileData, + fileName}); + return ((WebServiceResult)(results[0])); + } + + /// + public void UploadFileAttachmentAsync(string token, int secretId, byte[] fileData, string fileName) { + this.UploadFileAttachmentAsync(token, secretId, fileData, fileName, null); + } + + /// + public void UploadFileAttachmentAsync(string token, int secretId, byte[] fileData, string fileName, object userState) { + if ((this.UploadFileAttachmentOperationCompleted == null)) { + this.UploadFileAttachmentOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUploadFileAttachmentOperationCompleted); + } + this.InvokeAsync("UploadFileAttachment", new object[] { + token, + secretId, + fileData, + fileName}, this.UploadFileAttachmentOperationCompleted, userState); + } + + private void OnUploadFileAttachmentOperationCompleted(object arg) { + if ((this.UploadFileAttachmentCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.UploadFileAttachmentCompleted(this, new UploadFileAttachmentCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/UploadFileAttachmentByItemId", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult UploadFileAttachmentByItemId(string token, int secretId, int secretItemId, [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] byte[] fileData, string fileName) { + object[] results = this.Invoke("UploadFileAttachmentByItemId", new object[] { + token, + secretId, + secretItemId, + fileData, + fileName}); + return ((WebServiceResult)(results[0])); + } + + /// + public void UploadFileAttachmentByItemIdAsync(string token, int secretId, int secretItemId, byte[] fileData, string fileName) { + this.UploadFileAttachmentByItemIdAsync(token, secretId, secretItemId, fileData, fileName, null); + } + + /// + public void UploadFileAttachmentByItemIdAsync(string token, int secretId, int secretItemId, byte[] fileData, string fileName, object userState) { + if ((this.UploadFileAttachmentByItemIdOperationCompleted == null)) { + this.UploadFileAttachmentByItemIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUploadFileAttachmentByItemIdOperationCompleted); + } + this.InvokeAsync("UploadFileAttachmentByItemId", new object[] { + token, + secretId, + secretItemId, + fileData, + fileName}, this.UploadFileAttachmentByItemIdOperationCompleted, userState); + } + + private void OnUploadFileAttachmentByItemIdOperationCompleted(object arg) { + if ((this.UploadFileAttachmentByItemIdCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.UploadFileAttachmentByItemIdCompleted(this, new UploadFileAttachmentByItemIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/ExpireSecret", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult ExpireSecret(string token, int secretId) { + object[] results = this.Invoke("ExpireSecret", new object[] { + token, + secretId}); + return ((WebServiceResult)(results[0])); + } + + /// + public void ExpireSecretAsync(string token, int secretId) { + this.ExpireSecretAsync(token, secretId, null); + } + + /// + public void ExpireSecretAsync(string token, int secretId, object userState) { + if ((this.ExpireSecretOperationCompleted == null)) { + this.ExpireSecretOperationCompleted = new System.Threading.SendOrPostCallback(this.OnExpireSecretOperationCompleted); + } + this.InvokeAsync("ExpireSecret", new object[] { + token, + secretId}, this.ExpireSecretOperationCompleted, userState); + } + + private void OnExpireSecretOperationCompleted(object arg) { + if ((this.ExpireSecretCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.ExpireSecretCompleted(this, new ExpireSecretCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/SetCheckOutEnabled", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult SetCheckOutEnabled(string token, int secretId, bool setCheckOut, bool setPasswordChangeOnCheckIn, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] System.Nullable checkOutInterval) { + object[] results = this.Invoke("SetCheckOutEnabled", new object[] { + token, + secretId, + setCheckOut, + setPasswordChangeOnCheckIn, + checkOutInterval}); + return ((WebServiceResult)(results[0])); + } + + /// + public void SetCheckOutEnabledAsync(string token, int secretId, bool setCheckOut, bool setPasswordChangeOnCheckIn, System.Nullable checkOutInterval) { + this.SetCheckOutEnabledAsync(token, secretId, setCheckOut, setPasswordChangeOnCheckIn, checkOutInterval, null); + } + + /// + public void SetCheckOutEnabledAsync(string token, int secretId, bool setCheckOut, bool setPasswordChangeOnCheckIn, System.Nullable checkOutInterval, object userState) { + if ((this.SetCheckOutEnabledOperationCompleted == null)) { + this.SetCheckOutEnabledOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetCheckOutEnabledOperationCompleted); + } + this.InvokeAsync("SetCheckOutEnabled", new object[] { + token, + secretId, + setCheckOut, + setPasswordChangeOnCheckIn, + checkOutInterval}, this.SetCheckOutEnabledOperationCompleted, userState); + } + + private void OnSetCheckOutEnabledOperationCompleted(object arg) { + if ((this.SetCheckOutEnabledCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.SetCheckOutEnabledCompleted(this, new SetCheckOutEnabledCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/ImportXML", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult ImportXML(string token, string xml) { + object[] results = this.Invoke("ImportXML", new object[] { + token, + xml}); + return ((WebServiceResult)(results[0])); + } + + /// + public void ImportXMLAsync(string token, string xml) { + this.ImportXMLAsync(token, xml, null); + } + + /// + public void ImportXMLAsync(string token, string xml, object userState) { + if ((this.ImportXMLOperationCompleted == null)) { + this.ImportXMLOperationCompleted = new System.Threading.SendOrPostCallback(this.OnImportXMLOperationCompleted); + } + this.InvokeAsync("ImportXML", new object[] { + token, + xml}, this.ImportXMLOperationCompleted, userState); + } + + private void OnImportXMLOperationCompleted(object arg) { + if ((this.ImportXMLCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.ImportXMLCompleted(this, new ImportXMLCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetSecretAudit", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetSecretAuditResult GetSecretAudit(string token, int secretId) { + object[] results = this.Invoke("GetSecretAudit", new object[] { + token, + secretId}); + return ((GetSecretAuditResult)(results[0])); + } + + /// + public void GetSecretAuditAsync(string token, int secretId) { + this.GetSecretAuditAsync(token, secretId, null); + } + + /// + public void GetSecretAuditAsync(string token, int secretId, object userState) { + if ((this.GetSecretAuditOperationCompleted == null)) { + this.GetSecretAuditOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSecretAuditOperationCompleted); + } + this.InvokeAsync("GetSecretAudit", new object[] { + token, + secretId}, this.GetSecretAuditOperationCompleted, userState); + } + + private void OnGetSecretAuditOperationCompleted(object arg) { + if ((this.GetSecretAuditCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetSecretAuditCompleted(this, new GetSecretAuditCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/AddDependency", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult AddDependency(string token, Dependency dependency) { + object[] results = this.Invoke("AddDependency", new object[] { + token, + dependency}); + return ((WebServiceResult)(results[0])); + } + + /// + public void AddDependencyAsync(string token, Dependency dependency) { + this.AddDependencyAsync(token, dependency, null); + } + + /// + public void AddDependencyAsync(string token, Dependency dependency, object userState) { + if ((this.AddDependencyOperationCompleted == null)) { + this.AddDependencyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddDependencyOperationCompleted); + } + this.InvokeAsync("AddDependency", new object[] { + token, + dependency}, this.AddDependencyOperationCompleted, userState); + } + + private void OnAddDependencyOperationCompleted(object arg) { + if ((this.AddDependencyCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AddDependencyCompleted(this, new AddDependencyCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/RemoveDependency", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult RemoveDependency(string token, int dependencyId, int secretId) { + object[] results = this.Invoke("RemoveDependency", new object[] { + token, + dependencyId, + secretId}); + return ((WebServiceResult)(results[0])); + } + + /// + public void RemoveDependencyAsync(string token, int dependencyId, int secretId) { + this.RemoveDependencyAsync(token, dependencyId, secretId, null); + } + + /// + public void RemoveDependencyAsync(string token, int dependencyId, int secretId, object userState) { + if ((this.RemoveDependencyOperationCompleted == null)) { + this.RemoveDependencyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRemoveDependencyOperationCompleted); + } + this.InvokeAsync("RemoveDependency", new object[] { + token, + dependencyId, + secretId}, this.RemoveDependencyOperationCompleted, userState); + } + + private void OnRemoveDependencyOperationCompleted(object arg) { + if ((this.RemoveDependencyCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.RemoveDependencyCompleted(this, new RemoveDependencyCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetDependencies", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetDependenciesResult GetDependencies(string token, int secretId) { + object[] results = this.Invoke("GetDependencies", new object[] { + token, + secretId}); + return ((GetDependenciesResult)(results[0])); + } + + /// + public void GetDependenciesAsync(string token, int secretId) { + this.GetDependenciesAsync(token, secretId, null); + } + + /// + public void GetDependenciesAsync(string token, int secretId, object userState) { + if ((this.GetDependenciesOperationCompleted == null)) { + this.GetDependenciesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDependenciesOperationCompleted); + } + this.InvokeAsync("GetDependencies", new object[] { + token, + secretId}, this.GetDependenciesOperationCompleted, userState); + } + + private void OnGetDependenciesOperationCompleted(object arg) { + if ((this.GetDependenciesCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetDependenciesCompleted(this, new GetDependenciesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/CreateDependencyGroupForSecret", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult CreateDependencyGroupForSecret(string token, DependencyGroup dependencyGroup) { + object[] results = this.Invoke("CreateDependencyGroupForSecret", new object[] { + token, + dependencyGroup}); + return ((WebServiceResult)(results[0])); + } + + /// + public void CreateDependencyGroupForSecretAsync(string token, DependencyGroup dependencyGroup) { + this.CreateDependencyGroupForSecretAsync(token, dependencyGroup, null); + } + + /// + public void CreateDependencyGroupForSecretAsync(string token, DependencyGroup dependencyGroup, object userState) { + if ((this.CreateDependencyGroupForSecretOperationCompleted == null)) { + this.CreateDependencyGroupForSecretOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateDependencyGroupForSecretOperationCompleted); + } + this.InvokeAsync("CreateDependencyGroupForSecret", new object[] { + token, + dependencyGroup}, this.CreateDependencyGroupForSecretOperationCompleted, userState); + } + + private void OnCreateDependencyGroupForSecretOperationCompleted(object arg) { + if ((this.CreateDependencyGroupForSecretCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.CreateDependencyGroupForSecretCompleted(this, new CreateDependencyGroupForSecretCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetDependencyGroupsForSecret", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetDependencyGroupsResult GetDependencyGroupsForSecret(string token, int secretId) { + object[] results = this.Invoke("GetDependencyGroupsForSecret", new object[] { + token, + secretId}); + return ((GetDependencyGroupsResult)(results[0])); + } + + /// + public void GetDependencyGroupsForSecretAsync(string token, int secretId) { + this.GetDependencyGroupsForSecretAsync(token, secretId, null); + } + + /// + public void GetDependencyGroupsForSecretAsync(string token, int secretId, object userState) { + if ((this.GetDependencyGroupsForSecretOperationCompleted == null)) { + this.GetDependencyGroupsForSecretOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDependencyGroupsForSecretOperationCompleted); + } + this.InvokeAsync("GetDependencyGroupsForSecret", new object[] { + token, + secretId}, this.GetDependencyGroupsForSecretOperationCompleted, userState); + } + + private void OnGetDependencyGroupsForSecretOperationCompleted(object arg) { + if ((this.GetDependencyGroupsForSecretCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetDependencyGroupsForSecretCompleted(this, new GetDependencyGroupsForSecretCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/UpdateDependencyGroupForSecret", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult UpdateDependencyGroupForSecret(string token, DependencyGroup dependencyGroup) { + object[] results = this.Invoke("UpdateDependencyGroupForSecret", new object[] { + token, + dependencyGroup}); + return ((WebServiceResult)(results[0])); + } + + /// + public void UpdateDependencyGroupForSecretAsync(string token, DependencyGroup dependencyGroup) { + this.UpdateDependencyGroupForSecretAsync(token, dependencyGroup, null); + } + + /// + public void UpdateDependencyGroupForSecretAsync(string token, DependencyGroup dependencyGroup, object userState) { + if ((this.UpdateDependencyGroupForSecretOperationCompleted == null)) { + this.UpdateDependencyGroupForSecretOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateDependencyGroupForSecretOperationCompleted); + } + this.InvokeAsync("UpdateDependencyGroupForSecret", new object[] { + token, + dependencyGroup}, this.UpdateDependencyGroupForSecretOperationCompleted, userState); + } + + private void OnUpdateDependencyGroupForSecretOperationCompleted(object arg) { + if ((this.UpdateDependencyGroupForSecretCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.UpdateDependencyGroupForSecretCompleted(this, new UpdateDependencyGroupForSecretCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/RemoveDependencyGroupForSecret", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult RemoveDependencyGroupForSecret(string token, int dependencyGroupId) { + object[] results = this.Invoke("RemoveDependencyGroupForSecret", new object[] { + token, + dependencyGroupId}); + return ((WebServiceResult)(results[0])); + } + + /// + public void RemoveDependencyGroupForSecretAsync(string token, int dependencyGroupId) { + this.RemoveDependencyGroupForSecretAsync(token, dependencyGroupId, null); + } + + /// + public void RemoveDependencyGroupForSecretAsync(string token, int dependencyGroupId, object userState) { + if ((this.RemoveDependencyGroupForSecretOperationCompleted == null)) { + this.RemoveDependencyGroupForSecretOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRemoveDependencyGroupForSecretOperationCompleted); + } + this.InvokeAsync("RemoveDependencyGroupForSecret", new object[] { + token, + dependencyGroupId}, this.RemoveDependencyGroupForSecretOperationCompleted, userState); + } + + private void OnRemoveDependencyGroupForSecretOperationCompleted(object arg) { + if ((this.RemoveDependencyGroupForSecretCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.RemoveDependencyGroupForSecretCompleted(this, new RemoveDependencyGroupForSecretCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetDistributedEngines", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetSitesResult GetDistributedEngines(string token) { + object[] results = this.Invoke("GetDistributedEngines", new object[] { + token}); + return ((GetSitesResult)(results[0])); + } + + /// + public void GetDistributedEnginesAsync(string token) { + this.GetDistributedEnginesAsync(token, null); + } + + /// + public void GetDistributedEnginesAsync(string token, object userState) { + if ((this.GetDistributedEnginesOperationCompleted == null)) { + this.GetDistributedEnginesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDistributedEnginesOperationCompleted); + } + this.InvokeAsync("GetDistributedEngines", new object[] { + token}, this.GetDistributedEnginesOperationCompleted, userState); + } + + private void OnGetDistributedEnginesOperationCompleted(object arg) { + if ((this.GetDistributedEnginesCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetDistributedEnginesCompleted(this, new GetDistributedEnginesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetTicketSystems", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetTicketSystemsResult GetTicketSystems(string token) { + object[] results = this.Invoke("GetTicketSystems", new object[] { + token}); + return ((GetTicketSystemsResult)(results[0])); + } + + /// + public void GetTicketSystemsAsync(string token) { + this.GetTicketSystemsAsync(token, null); + } + + /// + public void GetTicketSystemsAsync(string token, object userState) { + if ((this.GetTicketSystemsOperationCompleted == null)) { + this.GetTicketSystemsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetTicketSystemsOperationCompleted); + } + this.InvokeAsync("GetTicketSystems", new object[] { + token}, this.GetTicketSystemsOperationCompleted, userState); + } + + private void OnGetTicketSystemsOperationCompleted(object arg) { + if ((this.GetTicketSystemsCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetTicketSystemsCompleted(this, new GetTicketSystemsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/AssignSite", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult AssignSite(string token, int secretId, int siteId) { + object[] results = this.Invoke("AssignSite", new object[] { + token, + secretId, + siteId}); + return ((WebServiceResult)(results[0])); + } + + /// + public void AssignSiteAsync(string token, int secretId, int siteId) { + this.AssignSiteAsync(token, secretId, siteId, null); + } + + /// + public void AssignSiteAsync(string token, int secretId, int siteId, object userState) { + if ((this.AssignSiteOperationCompleted == null)) { + this.AssignSiteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAssignSiteOperationCompleted); + } + this.InvokeAsync("AssignSite", new object[] { + token, + secretId, + siteId}, this.AssignSiteOperationCompleted, userState); + } + + private void OnAssignSiteOperationCompleted(object arg) { + if ((this.AssignSiteCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AssignSiteCompleted(this, new AssignSiteCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/CheckIn", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult CheckIn(string token, int secretId) { + object[] results = this.Invoke("CheckIn", new object[] { + token, + secretId}); + return ((WebServiceResult)(results[0])); + } + + /// + public void CheckInAsync(string token, int secretId) { + this.CheckInAsync(token, secretId, null); + } + + /// + public void CheckInAsync(string token, int secretId, object userState) { + if ((this.CheckInOperationCompleted == null)) { + this.CheckInOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckInOperationCompleted); + } + this.InvokeAsync("CheckIn", new object[] { + token, + secretId}, this.CheckInOperationCompleted, userState); + } + + private void OnCheckInOperationCompleted(object arg) { + if ((this.CheckInCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.CheckInCompleted(this, new CheckInCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/AddSecretCustomAudit", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult AddSecretCustomAudit(string token, int secretId, string notes, string ipAddress, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] System.Nullable referenceId, string ticketNumber, int userId) { + object[] results = this.Invoke("AddSecretCustomAudit", new object[] { + token, + secretId, + notes, + ipAddress, + referenceId, + ticketNumber, + userId}); + return ((WebServiceResult)(results[0])); + } + + /// + public void AddSecretCustomAuditAsync(string token, int secretId, string notes, string ipAddress, System.Nullable referenceId, string ticketNumber, int userId) { + this.AddSecretCustomAuditAsync(token, secretId, notes, ipAddress, referenceId, ticketNumber, userId, null); + } + + /// + public void AddSecretCustomAuditAsync(string token, int secretId, string notes, string ipAddress, System.Nullable referenceId, string ticketNumber, int userId, object userState) { + if ((this.AddSecretCustomAuditOperationCompleted == null)) { + this.AddSecretCustomAuditOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddSecretCustomAuditOperationCompleted); + } + this.InvokeAsync("AddSecretCustomAudit", new object[] { + token, + secretId, + notes, + ipAddress, + referenceId, + ticketNumber, + userId}, this.AddSecretCustomAuditOperationCompleted, userState); + } + + private void OnAddSecretCustomAuditOperationCompleted(object arg) { + if ((this.AddSecretCustomAuditCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AddSecretCustomAuditCompleted(this, new AddSecretCustomAuditCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/UpdateSecretPermission", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult UpdateSecretPermission(string token, int secretId, GroupOrUserRecord groupOrUserRecord, bool view, bool edit, bool owner) { + object[] results = this.Invoke("UpdateSecretPermission", new object[] { + token, + secretId, + groupOrUserRecord, + view, + edit, + owner}); + return ((WebServiceResult)(results[0])); + } + + /// + public void UpdateSecretPermissionAsync(string token, int secretId, GroupOrUserRecord groupOrUserRecord, bool view, bool edit, bool owner) { + this.UpdateSecretPermissionAsync(token, secretId, groupOrUserRecord, view, edit, owner, null); + } + + /// + public void UpdateSecretPermissionAsync(string token, int secretId, GroupOrUserRecord groupOrUserRecord, bool view, bool edit, bool owner, object userState) { + if ((this.UpdateSecretPermissionOperationCompleted == null)) { + this.UpdateSecretPermissionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateSecretPermissionOperationCompleted); + } + this.InvokeAsync("UpdateSecretPermission", new object[] { + token, + secretId, + groupOrUserRecord, + view, + edit, + owner}, this.UpdateSecretPermissionOperationCompleted, userState); + } + + private void OnUpdateSecretPermissionOperationCompleted(object arg) { + if ((this.UpdateSecretPermissionCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.UpdateSecretPermissionCompleted(this, new UpdateSecretPermissionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/CheckInByKey", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult CheckInByKey(string sessionKey) { + object[] results = this.Invoke("CheckInByKey", new object[] { + sessionKey}); + return ((WebServiceResult)(results[0])); + } + + /// + public void CheckInByKeyAsync(string sessionKey) { + this.CheckInByKeyAsync(sessionKey, null); + } + + /// + public void CheckInByKeyAsync(string sessionKey, object userState) { + if ((this.CheckInByKeyOperationCompleted == null)) { + this.CheckInByKeyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckInByKeyOperationCompleted); + } + this.InvokeAsync("CheckInByKey", new object[] { + sessionKey}, this.CheckInByKeyOperationCompleted, userState); + } + + private void OnCheckInByKeyOperationCompleted(object arg) { + if ((this.CheckInByKeyCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.CheckInByKeyCompleted(this, new CheckInByKeyCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/WhoAmI", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public UserInfoResult WhoAmI(string token) { + object[] results = this.Invoke("WhoAmI", new object[] { + token}); + return ((UserInfoResult)(results[0])); + } + + /// + public void WhoAmIAsync(string token) { + this.WhoAmIAsync(token, null); + } + + /// + public void WhoAmIAsync(string token, object userState) { + if ((this.WhoAmIOperationCompleted == null)) { + this.WhoAmIOperationCompleted = new System.Threading.SendOrPostCallback(this.OnWhoAmIOperationCompleted); + } + this.InvokeAsync("WhoAmI", new object[] { + token}, this.WhoAmIOperationCompleted, userState); + } + + private void OnWhoAmIOperationCompleted(object arg) { + if ((this.WhoAmICompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.WhoAmICompleted(this, new WhoAmICompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetAllGroups", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetAllGroupsResult GetAllGroups(string token) { + object[] results = this.Invoke("GetAllGroups", new object[] { + token}); + return ((GetAllGroupsResult)(results[0])); + } + + /// + public void GetAllGroupsAsync(string token) { + this.GetAllGroupsAsync(token, null); + } + + /// + public void GetAllGroupsAsync(string token, object userState) { + if ((this.GetAllGroupsOperationCompleted == null)) { + this.GetAllGroupsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetAllGroupsOperationCompleted); + } + this.InvokeAsync("GetAllGroups", new object[] { + token}, this.GetAllGroupsOperationCompleted, userState); + } + + private void OnGetAllGroupsOperationCompleted(object arg) { + if ((this.GetAllGroupsCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetAllGroupsCompleted(this, new GetAllGroupsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/AssignUserToGroup", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult AssignUserToGroup(string token, int userId, int groupId) { + object[] results = this.Invoke("AssignUserToGroup", new object[] { + token, + userId, + groupId}); + return ((WebServiceResult)(results[0])); + } + + /// + public void AssignUserToGroupAsync(string token, int userId, int groupId) { + this.AssignUserToGroupAsync(token, userId, groupId, null); + } + + /// + public void AssignUserToGroupAsync(string token, int userId, int groupId, object userState) { + if ((this.AssignUserToGroupOperationCompleted == null)) { + this.AssignUserToGroupOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAssignUserToGroupOperationCompleted); + } + this.InvokeAsync("AssignUserToGroup", new object[] { + token, + userId, + groupId}, this.AssignUserToGroupOperationCompleted, userState); + } + + private void OnAssignUserToGroupOperationCompleted(object arg) { + if ((this.AssignUserToGroupCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AssignUserToGroupCompleted(this, new AssignUserToGroupCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetSSHLoginCredentials", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SSHCredentialsResult GetSSHLoginCredentials(string token, int secretId) { + object[] results = this.Invoke("GetSSHLoginCredentials", new object[] { + token, + secretId}); + return ((SSHCredentialsResult)(results[0])); + } + + /// + public void GetSSHLoginCredentialsAsync(string token, int secretId) { + this.GetSSHLoginCredentialsAsync(token, secretId, null); + } + + /// + public void GetSSHLoginCredentialsAsync(string token, int secretId, object userState) { + if ((this.GetSSHLoginCredentialsOperationCompleted == null)) { + this.GetSSHLoginCredentialsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSSHLoginCredentialsOperationCompleted); + } + this.InvokeAsync("GetSSHLoginCredentials", new object[] { + token, + secretId}, this.GetSSHLoginCredentialsOperationCompleted, userState); + } + + private void OnGetSSHLoginCredentialsOperationCompleted(object arg) { + if ((this.GetSSHLoginCredentialsCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetSSHLoginCredentialsCompleted(this, new GetSSHLoginCredentialsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetSSHLoginCredentialsWithMachine", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SSHCredentialsResult GetSSHLoginCredentialsWithMachine(string token, int secretId, string machine) { + object[] results = this.Invoke("GetSSHLoginCredentialsWithMachine", new object[] { + token, + secretId, + machine}); + return ((SSHCredentialsResult)(results[0])); + } + + /// + public void GetSSHLoginCredentialsWithMachineAsync(string token, int secretId, string machine) { + this.GetSSHLoginCredentialsWithMachineAsync(token, secretId, machine, null); + } + + /// + public void GetSSHLoginCredentialsWithMachineAsync(string token, int secretId, string machine, object userState) { + if ((this.GetSSHLoginCredentialsWithMachineOperationCompleted == null)) { + this.GetSSHLoginCredentialsWithMachineOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSSHLoginCredentialsWithMachineOperationCompleted); + } + this.InvokeAsync("GetSSHLoginCredentialsWithMachine", new object[] { + token, + secretId, + machine}, this.GetSSHLoginCredentialsWithMachineOperationCompleted, userState); + } + + private void OnGetSSHLoginCredentialsWithMachineOperationCompleted(object arg) { + if ((this.GetSSHLoginCredentialsWithMachineCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetSSHLoginCredentialsWithMachineCompleted(this, new GetSSHLoginCredentialsWithMachineCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/SearchUsers", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetUsersResult SearchUsers(string token, string searchTerm, bool includeInactiveUsers) { + object[] results = this.Invoke("SearchUsers", new object[] { + token, + searchTerm, + includeInactiveUsers}); + return ((GetUsersResult)(results[0])); + } + + /// + public void SearchUsersAsync(string token, string searchTerm, bool includeInactiveUsers) { + this.SearchUsersAsync(token, searchTerm, includeInactiveUsers, null); + } + + /// + public void SearchUsersAsync(string token, string searchTerm, bool includeInactiveUsers, object userState) { + if ((this.SearchUsersOperationCompleted == null)) { + this.SearchUsersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSearchUsersOperationCompleted); + } + this.InvokeAsync("SearchUsers", new object[] { + token, + searchTerm, + includeInactiveUsers}, this.SearchUsersOperationCompleted, userState); + } + + private void OnSearchUsersOperationCompleted(object arg) { + if ((this.SearchUsersCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.SearchUsersCompleted(this, new SearchUsersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetUser", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetUserResult GetUser(string token, int userId) { + object[] results = this.Invoke("GetUser", new object[] { + token, + userId}); + return ((GetUserResult)(results[0])); + } + + /// + public void GetUserAsync(string token, int userId) { + this.GetUserAsync(token, userId, null); + } + + /// + public void GetUserAsync(string token, int userId, object userState) { + if ((this.GetUserOperationCompleted == null)) { + this.GetUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetUserOperationCompleted); + } + this.InvokeAsync("GetUser", new object[] { + token, + userId}, this.GetUserOperationCompleted, userState); + } + + private void OnGetUserOperationCompleted(object arg) { + if ((this.GetUserCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetUserCompleted(this, new GetUserCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/UpdateUser", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public UpdateUserResult UpdateUser(string token, User user) { + object[] results = this.Invoke("UpdateUser", new object[] { + token, + user}); + return ((UpdateUserResult)(results[0])); + } + + /// + public void UpdateUserAsync(string token, User user) { + this.UpdateUserAsync(token, user, null); + } + + /// + public void UpdateUserAsync(string token, User user, object userState) { + if ((this.UpdateUserOperationCompleted == null)) { + this.UpdateUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateUserOperationCompleted); + } + this.InvokeAsync("UpdateUser", new object[] { + token, + user}, this.UpdateUserOperationCompleted, userState); + } + + private void OnUpdateUserOperationCompleted(object arg) { + if ((this.UpdateUserCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.UpdateUserCompleted(this, new UpdateUserCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetSecretItemHistoryByFieldName", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SecretItemHistoryResult GetSecretItemHistoryByFieldName(string token, int secretId, string fieldDisplayName) { + object[] results = this.Invoke("GetSecretItemHistoryByFieldName", new object[] { + token, + secretId, + fieldDisplayName}); + return ((SecretItemHistoryResult)(results[0])); + } + + /// + public void GetSecretItemHistoryByFieldNameAsync(string token, int secretId, string fieldDisplayName) { + this.GetSecretItemHistoryByFieldNameAsync(token, secretId, fieldDisplayName, null); + } + + /// + public void GetSecretItemHistoryByFieldNameAsync(string token, int secretId, string fieldDisplayName, object userState) { + if ((this.GetSecretItemHistoryByFieldNameOperationCompleted == null)) { + this.GetSecretItemHistoryByFieldNameOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSecretItemHistoryByFieldNameOperationCompleted); + } + this.InvokeAsync("GetSecretItemHistoryByFieldName", new object[] { + token, + secretId, + fieldDisplayName}, this.GetSecretItemHistoryByFieldNameOperationCompleted, userState); + } + + private void OnGetSecretItemHistoryByFieldNameOperationCompleted(object arg) { + if ((this.GetSecretItemHistoryByFieldNameCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetSecretItemHistoryByFieldNameCompleted(this, new GetSecretItemHistoryByFieldNameCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetSecretPolicyForSecret", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SecretPolicyForSecretResult GetSecretPolicyForSecret(string token, int secretId) { + object[] results = this.Invoke("GetSecretPolicyForSecret", new object[] { + token, + secretId}); + return ((SecretPolicyForSecretResult)(results[0])); + } + + /// + public void GetSecretPolicyForSecretAsync(string token, int secretId) { + this.GetSecretPolicyForSecretAsync(token, secretId, null); + } + + /// + public void GetSecretPolicyForSecretAsync(string token, int secretId, object userState) { + if ((this.GetSecretPolicyForSecretOperationCompleted == null)) { + this.GetSecretPolicyForSecretOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSecretPolicyForSecretOperationCompleted); + } + this.InvokeAsync("GetSecretPolicyForSecret", new object[] { + token, + secretId}, this.GetSecretPolicyForSecretOperationCompleted, userState); + } + + private void OnGetSecretPolicyForSecretOperationCompleted(object arg) { + if ((this.GetSecretPolicyForSecretCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetSecretPolicyForSecretCompleted(this, new GetSecretPolicyForSecretCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/AssignSecretPolicyForSecret", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SecretPolicyForSecretResult AssignSecretPolicyForSecret(string token, SecretPolicyForSecret secretPolicyForSecret) { + object[] results = this.Invoke("AssignSecretPolicyForSecret", new object[] { + token, + secretPolicyForSecret}); + return ((SecretPolicyForSecretResult)(results[0])); + } + + /// + public void AssignSecretPolicyForSecretAsync(string token, SecretPolicyForSecret secretPolicyForSecret) { + this.AssignSecretPolicyForSecretAsync(token, secretPolicyForSecret, null); + } + + /// + public void AssignSecretPolicyForSecretAsync(string token, SecretPolicyForSecret secretPolicyForSecret, object userState) { + if ((this.AssignSecretPolicyForSecretOperationCompleted == null)) { + this.AssignSecretPolicyForSecretOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAssignSecretPolicyForSecretOperationCompleted); + } + this.InvokeAsync("AssignSecretPolicyForSecret", new object[] { + token, + secretPolicyForSecret}, this.AssignSecretPolicyForSecretOperationCompleted, userState); + } + + private void OnAssignSecretPolicyForSecretOperationCompleted(object arg) { + if ((this.AssignSecretPolicyForSecretCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AssignSecretPolicyForSecretCompleted(this, new AssignSecretPolicyForSecretCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/SearchSecretPolicies", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SearchSecretPoliciesResult SearchSecretPolicies(string token, string term, bool includeInactive) { + object[] results = this.Invoke("SearchSecretPolicies", new object[] { + token, + term, + includeInactive}); + return ((SearchSecretPoliciesResult)(results[0])); + } + + /// + public void SearchSecretPoliciesAsync(string token, string term, bool includeInactive) { + this.SearchSecretPoliciesAsync(token, term, includeInactive, null); + } + + /// + public void SearchSecretPoliciesAsync(string token, string term, bool includeInactive, object userState) { + if ((this.SearchSecretPoliciesOperationCompleted == null)) { + this.SearchSecretPoliciesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSearchSecretPoliciesOperationCompleted); + } + this.InvokeAsync("SearchSecretPolicies", new object[] { + token, + term, + includeInactive}, this.SearchSecretPoliciesOperationCompleted, userState); + } + + private void OnSearchSecretPoliciesOperationCompleted(object arg) { + if ((this.SearchSecretPoliciesCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.SearchSecretPoliciesCompleted(this, new SearchSecretPoliciesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/RunActiveDirectorySynchronization", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult RunActiveDirectorySynchronization(string token) { + object[] results = this.Invoke("RunActiveDirectorySynchronization", new object[] { + token}); + return ((WebServiceResult)(results[0])); + } + + /// + public void RunActiveDirectorySynchronizationAsync(string token) { + this.RunActiveDirectorySynchronizationAsync(token, null); + } + + /// + public void RunActiveDirectorySynchronizationAsync(string token, object userState) { + if ((this.RunActiveDirectorySynchronizationOperationCompleted == null)) { + this.RunActiveDirectorySynchronizationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRunActiveDirectorySynchronizationOperationCompleted); + } + this.InvokeAsync("RunActiveDirectorySynchronization", new object[] { + token}, this.RunActiveDirectorySynchronizationOperationCompleted, userState); + } + + private void OnRunActiveDirectorySynchronizationOperationCompleted(object arg) { + if ((this.RunActiveDirectorySynchronizationCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.RunActiveDirectorySynchronizationCompleted(this, new RunActiveDirectorySynchronizationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/AddGroupToActiveDirectorySynchronization", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult AddGroupToActiveDirectorySynchronization(string token, AddGroupRequestMessage addGroupRequestMessage) { + object[] results = this.Invoke("AddGroupToActiveDirectorySynchronization", new object[] { + token, + addGroupRequestMessage}); + return ((WebServiceResult)(results[0])); + } + + /// + public void AddGroupToActiveDirectorySynchronizationAsync(string token, AddGroupRequestMessage addGroupRequestMessage) { + this.AddGroupToActiveDirectorySynchronizationAsync(token, addGroupRequestMessage, null); + } + + /// + public void AddGroupToActiveDirectorySynchronizationAsync(string token, AddGroupRequestMessage addGroupRequestMessage, object userState) { + if ((this.AddGroupToActiveDirectorySynchronizationOperationCompleted == null)) { + this.AddGroupToActiveDirectorySynchronizationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddGroupToActiveDirectorySynchronizationOperationCompleted); + } + this.InvokeAsync("AddGroupToActiveDirectorySynchronization", new object[] { + token, + addGroupRequestMessage}, this.AddGroupToActiveDirectorySynchronizationOperationCompleted, userState); + } + + private void OnAddGroupToActiveDirectorySynchronizationOperationCompleted(object arg) { + if ((this.AddGroupToActiveDirectorySynchronizationCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AddGroupToActiveDirectorySynchronizationCompleted(this, new AddGroupToActiveDirectorySynchronizationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/AddSecretPolicy", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SecretPolicyResult AddSecretPolicy(string token, SecretPolicyDetail secretPolicy) { + object[] results = this.Invoke("AddSecretPolicy", new object[] { + token, + secretPolicy}); + return ((SecretPolicyResult)(results[0])); + } + + /// + public void AddSecretPolicyAsync(string token, SecretPolicyDetail secretPolicy) { + this.AddSecretPolicyAsync(token, secretPolicy, null); + } + + /// + public void AddSecretPolicyAsync(string token, SecretPolicyDetail secretPolicy, object userState) { + if ((this.AddSecretPolicyOperationCompleted == null)) { + this.AddSecretPolicyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddSecretPolicyOperationCompleted); + } + this.InvokeAsync("AddSecretPolicy", new object[] { + token, + secretPolicy}, this.AddSecretPolicyOperationCompleted, userState); + } + + private void OnAddSecretPolicyOperationCompleted(object arg) { + if ((this.AddSecretPolicyCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AddSecretPolicyCompleted(this, new AddSecretPolicyCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetNewSecretPolicy", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SecretPolicyResult GetNewSecretPolicy(string token) { + object[] results = this.Invoke("GetNewSecretPolicy", new object[] { + token}); + return ((SecretPolicyResult)(results[0])); + } + + /// + public void GetNewSecretPolicyAsync(string token) { + this.GetNewSecretPolicyAsync(token, null); + } + + /// + public void GetNewSecretPolicyAsync(string token, object userState) { + if ((this.GetNewSecretPolicyOperationCompleted == null)) { + this.GetNewSecretPolicyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetNewSecretPolicyOperationCompleted); + } + this.InvokeAsync("GetNewSecretPolicy", new object[] { + token}, this.GetNewSecretPolicyOperationCompleted, userState); + } + + private void OnGetNewSecretPolicyOperationCompleted(object arg) { + if ((this.GetNewSecretPolicyCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetNewSecretPolicyCompleted(this, new GetNewSecretPolicyCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetSSHCommandMenu", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetSshCommandMenuResult GetSSHCommandMenu(string token, int sshCommandMenuId) { + object[] results = this.Invoke("GetSSHCommandMenu", new object[] { + token, + sshCommandMenuId}); + return ((GetSshCommandMenuResult)(results[0])); + } + + /// + public void GetSSHCommandMenuAsync(string token, int sshCommandMenuId) { + this.GetSSHCommandMenuAsync(token, sshCommandMenuId, null); + } + + /// + public void GetSSHCommandMenuAsync(string token, int sshCommandMenuId, object userState) { + if ((this.GetSSHCommandMenuOperationCompleted == null)) { + this.GetSSHCommandMenuOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSSHCommandMenuOperationCompleted); + } + this.InvokeAsync("GetSSHCommandMenu", new object[] { + token, + sshCommandMenuId}, this.GetSSHCommandMenuOperationCompleted, userState); + } + + private void OnGetSSHCommandMenuOperationCompleted(object arg) { + if ((this.GetSSHCommandMenuCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetSSHCommandMenuCompleted(this, new GetSSHCommandMenuCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/SaveSSHCommandMenu", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetSshCommandMenuResult SaveSSHCommandMenu(string token, SshCommandMenu sshCommandMenu, string commandsText, bool deleteCommands) { + object[] results = this.Invoke("SaveSSHCommandMenu", new object[] { + token, + sshCommandMenu, + commandsText, + deleteCommands}); + return ((GetSshCommandMenuResult)(results[0])); + } + + /// + public void SaveSSHCommandMenuAsync(string token, SshCommandMenu sshCommandMenu, string commandsText, bool deleteCommands) { + this.SaveSSHCommandMenuAsync(token, sshCommandMenu, commandsText, deleteCommands, null); + } + + /// + public void SaveSSHCommandMenuAsync(string token, SshCommandMenu sshCommandMenu, string commandsText, bool deleteCommands, object userState) { + if ((this.SaveSSHCommandMenuOperationCompleted == null)) { + this.SaveSSHCommandMenuOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSaveSSHCommandMenuOperationCompleted); + } + this.InvokeAsync("SaveSSHCommandMenu", new object[] { + token, + sshCommandMenu, + commandsText, + deleteCommands}, this.SaveSSHCommandMenuOperationCompleted, userState); + } + + private void OnSaveSSHCommandMenuOperationCompleted(object arg) { + if ((this.SaveSSHCommandMenuCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.SaveSSHCommandMenuCompleted(this, new SaveSSHCommandMenuCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetAllSSHCommandMenus", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetSshCommandMenusResult GetAllSSHCommandMenus(string token, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] System.Nullable includeInactive) { + object[] results = this.Invoke("GetAllSSHCommandMenus", new object[] { + token, + includeInactive}); + return ((GetSshCommandMenusResult)(results[0])); + } + + /// + public void GetAllSSHCommandMenusAsync(string token, System.Nullable includeInactive) { + this.GetAllSSHCommandMenusAsync(token, includeInactive, null); + } + + /// + public void GetAllSSHCommandMenusAsync(string token, System.Nullable includeInactive, object userState) { + if ((this.GetAllSSHCommandMenusOperationCompleted == null)) { + this.GetAllSSHCommandMenusOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetAllSSHCommandMenusOperationCompleted); + } + this.InvokeAsync("GetAllSSHCommandMenus", new object[] { + token, + includeInactive}, this.GetAllSSHCommandMenusOperationCompleted, userState); + } + + private void OnGetAllSSHCommandMenusOperationCompleted(object arg) { + if ((this.GetAllSSHCommandMenusCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetAllSSHCommandMenusCompleted(this, new GetAllSSHCommandMenusCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/DeleteSSHCommandMenu", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult DeleteSSHCommandMenu(string token, int sshCommandMenuId) { + object[] results = this.Invoke("DeleteSSHCommandMenu", new object[] { + token, + sshCommandMenuId}); + return ((WebServiceResult)(results[0])); + } + + /// + public void DeleteSSHCommandMenuAsync(string token, int sshCommandMenuId) { + this.DeleteSSHCommandMenuAsync(token, sshCommandMenuId, null); + } + + /// + public void DeleteSSHCommandMenuAsync(string token, int sshCommandMenuId, object userState) { + if ((this.DeleteSSHCommandMenuOperationCompleted == null)) { + this.DeleteSSHCommandMenuOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteSSHCommandMenuOperationCompleted); + } + this.InvokeAsync("DeleteSSHCommandMenu", new object[] { + token, + sshCommandMenuId}, this.DeleteSSHCommandMenuOperationCompleted, userState); + } + + private void OnDeleteSSHCommandMenuOperationCompleted(object arg) { + if ((this.DeleteSSHCommandMenuCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.DeleteSSHCommandMenuCompleted(this, new DeleteSSHCommandMenuCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/RestoreSSHCommandMenu", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult RestoreSSHCommandMenu(string token, int sshCommandMenuId) { + object[] results = this.Invoke("RestoreSSHCommandMenu", new object[] { + token, + sshCommandMenuId}); + return ((WebServiceResult)(results[0])); + } + + /// + public void RestoreSSHCommandMenuAsync(string token, int sshCommandMenuId) { + this.RestoreSSHCommandMenuAsync(token, sshCommandMenuId, null); + } + + /// + public void RestoreSSHCommandMenuAsync(string token, int sshCommandMenuId, object userState) { + if ((this.RestoreSSHCommandMenuOperationCompleted == null)) { + this.RestoreSSHCommandMenuOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRestoreSSHCommandMenuOperationCompleted); + } + this.InvokeAsync("RestoreSSHCommandMenu", new object[] { + token, + sshCommandMenuId}, this.RestoreSSHCommandMenuOperationCompleted, userState); + } + + private void OnRestoreSSHCommandMenuOperationCompleted(object arg) { + if ((this.RestoreSSHCommandMenuCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.RestoreSSHCommandMenuCompleted(this, new RestoreSSHCommandMenuCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetReport", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetReportResult GetReport(string token, GetReportRequest reportRequest) { + object[] results = this.Invoke("GetReport", new object[] { + token, + reportRequest}); + return ((GetReportResult)(results[0])); + } + + /// + public void GetReportAsync(string token, GetReportRequest reportRequest) { + this.GetReportAsync(token, reportRequest, null); + } + + /// + public void GetReportAsync(string token, GetReportRequest reportRequest, object userState) { + if ((this.GetReportOperationCompleted == null)) { + this.GetReportOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetReportOperationCompleted); + } + this.InvokeAsync("GetReport", new object[] { + token, + reportRequest}, this.GetReportOperationCompleted, userState); + } + + private void OnGetReportOperationCompleted(object arg) { + if ((this.GetReportCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetReportCompleted(this, new GetReportCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/AddScript", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult AddScript(string token, UserScript newUserScript) { + object[] results = this.Invoke("AddScript", new object[] { + token, + newUserScript}); + return ((WebServiceResult)(results[0])); + } + + /// + public void AddScriptAsync(string token, UserScript newUserScript) { + this.AddScriptAsync(token, newUserScript, null); + } + + /// + public void AddScriptAsync(string token, UserScript newUserScript, object userState) { + if ((this.AddScriptOperationCompleted == null)) { + this.AddScriptOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddScriptOperationCompleted); + } + this.InvokeAsync("AddScript", new object[] { + token, + newUserScript}, this.AddScriptOperationCompleted, userState); + } + + private void OnAddScriptOperationCompleted(object arg) { + if ((this.AddScriptCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AddScriptCompleted(this, new AddScriptCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetAllScripts", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetUserScriptsResult GetAllScripts(string token, bool includeInactiveUserScripts) { + object[] results = this.Invoke("GetAllScripts", new object[] { + token, + includeInactiveUserScripts}); + return ((GetUserScriptsResult)(results[0])); + } + + /// + public void GetAllScriptsAsync(string token, bool includeInactiveUserScripts) { + this.GetAllScriptsAsync(token, includeInactiveUserScripts, null); + } + + /// + public void GetAllScriptsAsync(string token, bool includeInactiveUserScripts, object userState) { + if ((this.GetAllScriptsOperationCompleted == null)) { + this.GetAllScriptsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetAllScriptsOperationCompleted); + } + this.InvokeAsync("GetAllScripts", new object[] { + token, + includeInactiveUserScripts}, this.GetAllScriptsOperationCompleted, userState); + } + + private void OnGetAllScriptsOperationCompleted(object arg) { + if ((this.GetAllScriptsCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetAllScriptsCompleted(this, new GetAllScriptsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetScript", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetUserScriptResult GetScript(string token, int userScriptId) { + object[] results = this.Invoke("GetScript", new object[] { + token, + userScriptId}); + return ((GetUserScriptResult)(results[0])); + } + + /// + public void GetScriptAsync(string token, int userScriptId) { + this.GetScriptAsync(token, userScriptId, null); + } + + /// + public void GetScriptAsync(string token, int userScriptId, object userState) { + if ((this.GetScriptOperationCompleted == null)) { + this.GetScriptOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetScriptOperationCompleted); + } + this.InvokeAsync("GetScript", new object[] { + token, + userScriptId}, this.GetScriptOperationCompleted, userState); + } + + private void OnGetScriptOperationCompleted(object arg) { + if ((this.GetScriptCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetScriptCompleted(this, new GetScriptCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/UpdateScript", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public UpdateUserScriptResult UpdateScript(string token, UserScript userScript) { + object[] results = this.Invoke("UpdateScript", new object[] { + token, + userScript}); + return ((UpdateUserScriptResult)(results[0])); + } + + /// + public void UpdateScriptAsync(string token, UserScript userScript) { + this.UpdateScriptAsync(token, userScript, null); + } + + /// + public void UpdateScriptAsync(string token, UserScript userScript, object userState) { + if ((this.UpdateScriptOperationCompleted == null)) { + this.UpdateScriptOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateScriptOperationCompleted); + } + this.InvokeAsync("UpdateScript", new object[] { + token, + userScript}, this.UpdateScriptOperationCompleted, userState); + } + + private void OnUpdateScriptOperationCompleted(object arg) { + if ((this.UpdateScriptCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.UpdateScriptCompleted(this, new UpdateScriptCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + 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; + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class RequestApprovalResult : GenericResult { + + private ApprovalInfo approvalInfoField; + + /// + public ApprovalInfo ApprovalInfo { + get { + return this.approvalInfoField; + } + set { + this.approvalInfoField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class ApprovalInfo { + + private AccessRequestState statusField; + + private string responderField; + + private System.DateTime responseDateField; + + private string responseCommentField; + + private System.Nullable expirationDateField; + + private bool canOverrideField; + + /// + public AccessRequestState Status { + get { + return this.statusField; + } + set { + this.statusField = value; + } + } + + /// + public string Responder { + get { + return this.responderField; + } + set { + this.responderField = value; + } + } + + /// + public System.DateTime ResponseDate { + get { + return this.responseDateField; + } + set { + this.responseDateField = value; + } + } + + /// + public string ResponseComment { + get { + return this.responseCommentField; + } + set { + this.responseCommentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable ExpirationDate { + get { + return this.expirationDateField; + } + set { + this.expirationDateField = value; + } + } + + /// + public bool CanOverride { + get { + return this.canOverrideField; + } + set { + this.canOverrideField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public enum AccessRequestState { + + /// + WaitingForRequest, + + /// + Pending, + + /// + Approved, + + /// + Denied, + + /// + Canceled, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SshScriptArgument2 { + + private string nameField; + + private string valueField; + + private SshArgumentType2 sshTypeField; + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public string Value { + get { + return this.valueField; + } + set { + this.valueField = value; + } + } + + /// + public SshArgumentType2 SshType { + get { + return this.sshTypeField; + } + set { + this.sshTypeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public enum SshArgumentType2 { + + /// + Interpreted, + + /// + Literal, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class AdditionalDataSshObject { + + private string portField; + + private LineEnding lineEndingField; + + private bool doNotUseEnvironmentField; + + private SshScriptArgument2[] paramsField; + + private int versionField; + + /// + public string Port { + get { + return this.portField; + } + set { + this.portField = value; + } + } + + /// + public LineEnding LineEnding { + get { + return this.lineEndingField; + } + set { + this.lineEndingField = value; + } + } + + /// + public bool DoNotUseEnvironment { + get { + return this.doNotUseEnvironmentField; + } + set { + this.doNotUseEnvironmentField = value; + } + } + + /// + public SshScriptArgument2[] Params { + get { + return this.paramsField; + } + set { + this.paramsField = value; + } + } + + /// + public int Version { + get { + return this.versionField; + } + set { + this.versionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public enum LineEnding { + + /// + NewLine, + + /// + CarriageReturn, + + /// + CarriageReturnNewLine, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetReportResult { + + private string[] errorsField; + + private System.Data.DataTable reportField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public System.Data.DataTable Report { + get { + return this.reportField; + } + set { + this.reportField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class DualControlApproval { + + private string usernameField; + + private string passwordField; + + private System.Nullable domainIdField; + + private string twoFactorField; + + /// + public string Username { + get { + return this.usernameField; + } + set { + this.usernameField = value; + } + } + + /// + public string Password { + get { + return this.passwordField; + } + set { + this.passwordField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable DomainId { + get { + return this.domainIdField; + } + set { + this.domainIdField = value; + } + } + + /// + public string TwoFactor { + get { + return this.twoFactorField; + } + set { + this.twoFactorField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class ReportParameter { + + private string nameField; + + private string valueField; + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public string Value { + get { + return this.valueField; + } + set { + this.valueField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetReportRequest { + + private System.Nullable reportIdField; + + private string reportNameField; + + private ReportParameter[] parametersField; + + private DualControlApproval dualControlApprovalField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable reportId { + get { + return this.reportIdField; + } + set { + this.reportIdField = value; + } + } + + /// + public string reportName { + get { + return this.reportNameField; + } + set { + this.reportNameField = value; + } + } + + /// + public ReportParameter[] parameters { + get { + return this.parametersField; + } + set { + this.parametersField = value; + } + } + + /// + public DualControlApproval dualControlApproval { + get { + return this.dualControlApprovalField; + } + set { + this.dualControlApprovalField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetSshCommandMenusResult { + + private SshCommandMenu[] sshCommandMenusField; + + private string[] errorsField; + + /// + public SshCommandMenu[] SshCommandMenus { + get { + return this.sshCommandMenusField; + } + set { + this.sshCommandMenusField = value; + } + } + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SshCommandMenu { + + private int sshCommandMenuIdField; + + private string nameField; + + private bool activeField; + + private string descriptionField; + + /// + public int SshCommandMenuId { + get { + return this.sshCommandMenuIdField; + } + set { + this.sshCommandMenuIdField = value; + } + } + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public bool Active { + get { + return this.activeField; + } + set { + this.activeField = value; + } + } + + /// + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetSshCommandMenuResult { + + private SshCommandMenu sshCommandMenuField; + + private string sshCommandsField; + + private string[] errorsField; + + /// + public SshCommandMenu SshCommandMenu { + get { + return this.sshCommandMenuField; + } + set { + this.sshCommandMenuField = value; + } + } + + /// + public string SshCommands { + get { + return this.sshCommandsField; + } + set { + this.sshCommandsField = value; + } + } + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class AddGroupRequestMessage { + + private string groupNameField; + + private System.Nullable domainIdField; + + private string domainNameField; + + /// + public string GroupName { + get { + return this.groupNameField; + } + set { + this.groupNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable DomainId { + get { + return this.domainIdField; + } + set { + this.domainIdField = value; + } + } + + /// + public string DomainName { + get { + return this.domainNameField; + } + set { + this.domainNameField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretItemHistoryWebServiceResult { + + private int secretItemHistoryIdField; + + private int userIdField; + + private int secretItemIdField; + + private int secretIdField; + + private System.DateTime dateField; + + private string itemValueNewField; + + private string itemValueNew2Field; + + /// + public int SecretItemHistoryId { + get { + return this.secretItemHistoryIdField; + } + set { + this.secretItemHistoryIdField = value; + } + } + + /// + public int UserId { + get { + return this.userIdField; + } + set { + this.userIdField = value; + } + } + + /// + public int SecretItemId { + get { + return this.secretItemIdField; + } + set { + this.secretItemIdField = value; + } + } + + /// + public int SecretId { + get { + return this.secretIdField; + } + set { + this.secretIdField = value; + } + } + + /// + public System.DateTime Date { + get { + return this.dateField; + } + set { + this.dateField = value; + } + } + + /// + public string ItemValueNew { + get { + return this.itemValueNewField; + } + set { + this.itemValueNewField = value; + } + } + + /// + public string ItemValueNew2 { + get { + return this.itemValueNew2Field; + } + set { + this.itemValueNew2Field = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretItemHistoryResult { + + private string[] errorsField; + + private bool successField; + + private SecretItemHistoryWebServiceResult[] secretItemHistoriesField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public bool Success { + get { + return this.successField; + } + set { + this.successField = value; + } + } + + /// + public SecretItemHistoryWebServiceResult[] SecretItemHistories { + get { + return this.secretItemHistoriesField; + } + set { + this.secretItemHistoriesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class UpdateUserResult { + + private User userField; + + private string[] errorsField; + + /// + public User User { + get { + return this.userField; + } + set { + this.userField = value; + } + } + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class User { + + private System.Nullable idField; + + private string userNameField; + + private string displayNameField; + + private System.Nullable domainIdField; + + private bool isApplicationAccountField; + + private bool radiusTwoFactorField; + + private bool emailTwoFactorField; + + private string radiusUserNameField; + + private string emailAddressField; + + private string passwordField; + + private bool enabledField; + + private bool duoTwoFactorField; + + private bool oATHTwoFactorField; + + private bool fido2TwoFactorField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable Id { + get { + return this.idField; + } + set { + this.idField = value; + } + } + + /// + public string UserName { + get { + return this.userNameField; + } + set { + this.userNameField = value; + } + } + + /// + public string DisplayName { + get { + return this.displayNameField; + } + set { + this.displayNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable DomainId { + get { + return this.domainIdField; + } + set { + this.domainIdField = value; + } + } + + /// + public bool IsApplicationAccount { + get { + return this.isApplicationAccountField; + } + set { + this.isApplicationAccountField = value; + } + } + + /// + public bool RadiusTwoFactor { + get { + return this.radiusTwoFactorField; + } + set { + this.radiusTwoFactorField = value; + } + } + + /// + public bool EmailTwoFactor { + get { + return this.emailTwoFactorField; + } + set { + this.emailTwoFactorField = value; + } + } + + /// + public string RadiusUserName { + get { + return this.radiusUserNameField; + } + set { + this.radiusUserNameField = value; + } + } + + /// + public string EmailAddress { + get { + return this.emailAddressField; + } + set { + this.emailAddressField = value; + } + } + + /// + public string Password { + get { + return this.passwordField; + } + set { + this.passwordField = value; + } + } + + /// + public bool Enabled { + get { + return this.enabledField; + } + set { + this.enabledField = value; + } + } + + /// + public bool DuoTwoFactor { + get { + return this.duoTwoFactorField; + } + set { + this.duoTwoFactorField = value; + } + } + + /// + public bool OATHTwoFactor { + get { + return this.oATHTwoFactorField; + } + set { + this.oATHTwoFactorField = value; + } + } + + /// + public bool Fido2TwoFactor { + get { + return this.fido2TwoFactorField; + } + set { + this.fido2TwoFactorField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetUserResult { + + private User userField; + + private string[] errorsField; + + /// + public User User { + get { + return this.userField; + } + set { + this.userField = value; + } + } + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetUsersResult { + + private User[] usersField; + + private string[] errorsField; + + /// + public User[] Users { + get { + return this.usersField; + } + set { + this.usersField = value; + } + } + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class Group { + + private int idField; + + private string nameField; + + private int domainIdField; + + private string domainNameField; + + /// + public int Id { + get { + return this.idField; + } + set { + this.idField = value; + } + } + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public int DomainId { + get { + return this.domainIdField; + } + set { + this.domainIdField = value; + } + } + + /// + public string DomainName { + get { + return this.domainNameField; + } + set { + this.domainNameField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetAllGroupsResult { + + private string[] errorsField; + + private Group[] groupsField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public Group[] Groups { + get { + return this.groupsField; + } + set { + this.groupsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class UserInfoResult { + + private string[] errorsField; + + private string displayNameField; + + private string userNameField; + + private string knownAsField; + + private int userIdField; + + private int domainIdField; + + private string domainNameField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public string DisplayName { + get { + return this.displayNameField; + } + set { + this.displayNameField = value; + } + } + + /// + public string UserName { + get { + return this.userNameField; + } + set { + this.userNameField = value; + } + } + + /// + public string KnownAs { + get { + return this.knownAsField; + } + set { + this.knownAsField = value; + } + } + + /// + public int UserId { + get { + return this.userIdField; + } + set { + this.userIdField = value; + } + } + + /// + public int DomainId { + get { + return this.domainIdField; + } + set { + this.domainIdField = value; + } + } + + /// + public string DomainName { + get { + return this.domainNameField; + } + set { + this.domainNameField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class TicketSystem { + + private int ticketSystemIdField; + + private string nameField; + + private string descriptionField; + + private bool isDefaultField; + + /// + public int TicketSystemId { + get { + return this.ticketSystemIdField; + } + set { + this.ticketSystemIdField = value; + } + } + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + } + } + + /// + public bool IsDefault { + get { + return this.isDefaultField; + } + set { + this.isDefaultField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetTicketSystemsResult { + + private TicketSystem[] ticketSystemsField; + + private string[] errorsField; + + private bool successField; + + /// + public TicketSystem[] TicketSystems { + get { + return this.ticketSystemsField; + } + set { + this.ticketSystemsField = value; + } + } + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public bool Success { + get { + return this.successField; + } + set { + this.successField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SiteConnector { + + private int siteConnectorIdField; + + private string siteConnectorNameField; + + private string queueTypeField; + + private string hostNameField; + + private int portField; + + private bool activeField; + + private bool validatedField; + + private bool useSslField; + + private string sslCertificateThumbprintField; + + private System.DateTime lastModifiedDateField; + + private string userNameField; + + private byte[] passwordIVField; + + private string versionField; + + /// + public int SiteConnectorId { + get { + return this.siteConnectorIdField; + } + set { + this.siteConnectorIdField = value; + } + } + + /// + public string SiteConnectorName { + get { + return this.siteConnectorNameField; + } + set { + this.siteConnectorNameField = value; + } + } + + /// + public string QueueType { + get { + return this.queueTypeField; + } + set { + this.queueTypeField = value; + } + } + + /// + public string HostName { + get { + return this.hostNameField; + } + set { + this.hostNameField = value; + } + } + + /// + public int Port { + get { + return this.portField; + } + set { + this.portField = value; + } + } + + /// + public bool Active { + get { + return this.activeField; + } + set { + this.activeField = value; + } + } + + /// + public bool Validated { + get { + return this.validatedField; + } + set { + this.validatedField = value; + } + } + + /// + public bool UseSsl { + get { + return this.useSslField; + } + set { + this.useSslField = value; + } + } + + /// + public string SslCertificateThumbprint { + get { + return this.sslCertificateThumbprintField; + } + set { + this.sslCertificateThumbprintField = value; + } + } + + /// + public System.DateTime LastModifiedDate { + get { + return this.lastModifiedDateField; + } + set { + this.lastModifiedDateField = value; + } + } + + /// + public string UserName { + get { + return this.userNameField; + } + set { + this.userNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] + public byte[] PasswordIV { + get { + return this.passwordIVField; + } + set { + this.passwordIVField = value; + } + } + + /// + public string Version { + get { + return this.versionField; + } + set { + this.versionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class Site { + + private int siteIdField; + + private int organizationIdField; + + private string symmetricKeyField; + + private byte[] symmetricKeyIVField; + + private byte[] initializationVectorField; + + private string siteNameField; + + private bool activeField; + + private int heartbeatIntervalField; + + private bool useWebSiteField; + + private bool systemSiteField; + + private bool enableSshProxyField; + + private System.Nullable sshProxyPortField; + + private bool enableRDPProxyField; + + private System.Nullable rdpProxyPortField; + + private System.Nullable secretIdField; + + private System.DateTime lastModifiedDateField; + + private string winRMEndpointField; + + private System.Nullable enableCredSSPForWinRMField; + + private int siteConnectorIdField; + + private SiteConnector siteConnectorField; + + /// + public int SiteId { + get { + return this.siteIdField; + } + set { + this.siteIdField = value; + } + } + + /// + public int OrganizationId { + get { + return this.organizationIdField; + } + set { + this.organizationIdField = value; + } + } + + /// + public string SymmetricKey { + get { + return this.symmetricKeyField; + } + set { + this.symmetricKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] + public byte[] SymmetricKeyIV { + get { + return this.symmetricKeyIVField; + } + set { + this.symmetricKeyIVField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] + public byte[] InitializationVector { + get { + return this.initializationVectorField; + } + set { + this.initializationVectorField = value; + } + } + + /// + public string SiteName { + get { + return this.siteNameField; + } + set { + this.siteNameField = value; + } + } + + /// + public bool Active { + get { + return this.activeField; + } + set { + this.activeField = value; + } + } + + /// + public int HeartbeatInterval { + get { + return this.heartbeatIntervalField; + } + set { + this.heartbeatIntervalField = value; + } + } + + /// + public bool UseWebSite { + get { + return this.useWebSiteField; + } + set { + this.useWebSiteField = value; + } + } + + /// + public bool SystemSite { + get { + return this.systemSiteField; + } + set { + this.systemSiteField = value; + } + } + + /// + public bool EnableSshProxy { + get { + return this.enableSshProxyField; + } + set { + this.enableSshProxyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable SshProxyPort { + get { + return this.sshProxyPortField; + } + set { + this.sshProxyPortField = value; + } + } + + /// + public bool EnableRDPProxy { + get { + return this.enableRDPProxyField; + } + set { + this.enableRDPProxyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable RdpProxyPort { + get { + return this.rdpProxyPortField; + } + set { + this.rdpProxyPortField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable SecretId { + get { + return this.secretIdField; + } + set { + this.secretIdField = value; + } + } + + /// + public System.DateTime LastModifiedDate { + get { + return this.lastModifiedDateField; + } + set { + this.lastModifiedDateField = value; + } + } + + /// + public string WinRMEndpoint { + get { + return this.winRMEndpointField; + } + set { + this.winRMEndpointField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable EnableCredSSPForWinRM { + get { + return this.enableCredSSPForWinRMField; + } + set { + this.enableCredSSPForWinRMField = value; + } + } + + /// + public int SiteConnectorId { + get { + return this.siteConnectorIdField; + } + set { + this.siteConnectorIdField = value; + } + } + + /// + public SiteConnector SiteConnector { + get { + return this.siteConnectorField; + } + set { + this.siteConnectorField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetSitesResult { + + private Site[] sitesField; + + private string[] errorsField; + + private bool successField; + + /// + public Site[] Sites { + get { + return this.sitesField; + } + set { + this.sitesField = value; + } + } + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public bool Success { + get { + return this.successField; + } + set { + this.successField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetDependencyGroupsResult { + + private DependencyGroup[] dependencyGroupsField; + + private string[] errorsField; + + private bool successField; + + /// + public DependencyGroup[] DependencyGroups { + get { + return this.dependencyGroupsField; + } + set { + this.dependencyGroupsField = value; + } + } + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public bool Success { + get { + return this.successField; + } + set { + this.successField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class DependencyGroup { + + private int secretDependencyGroupIdField; + + private int secretIdField; + + private string nameField; + + private System.Nullable siteIdField; + + /// + public int SecretDependencyGroupId { + get { + return this.secretDependencyGroupIdField; + } + set { + this.secretDependencyGroupIdField = value; + } + } + + /// + public int SecretId { + get { + return this.secretIdField; + } + set { + this.secretIdField = value; + } + } + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable SiteId { + get { + return this.siteIdField; + } + set { + this.siteIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetDependenciesResult { + + private Dependency[] dependenciesField; + + private string[] errorsField; + + private bool successField; + + /// + public Dependency[] Dependencies { + get { + return this.dependenciesField; + } + set { + this.dependenciesField = value; + } + } + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public bool Success { + get { + return this.successField; + } + set { + this.successField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class Dependency { + + private int secretIdField; + + private int secretDependencyTypeIdField; + + private string machineNameField; + + private string serviceNameField; + + private int privilegedAccountSecretIdField; + + private bool activeField; + + private bool restartOnPasswordChangeField; + + private int waitBeforeSecondsField; + + private AdditionalDependencyInfoJson additionalInfoField; + + private string descriptionField; + + private int scriptIdField; + + private int secretDependencyIdField; + + private System.Nullable sSHKeySecretIdField; + + private System.Nullable secretDependencyTemplateIdField; + + private System.Nullable secretDependencyGroupIdField; + + /// + public int SecretId { + get { + return this.secretIdField; + } + set { + this.secretIdField = value; + } + } + + /// + public int SecretDependencyTypeId { + get { + return this.secretDependencyTypeIdField; + } + set { + this.secretDependencyTypeIdField = value; + } + } + + /// + public string MachineName { + get { + return this.machineNameField; + } + set { + this.machineNameField = value; + } + } + + /// + public string ServiceName { + get { + return this.serviceNameField; + } + set { + this.serviceNameField = value; + } + } + + /// + public int PrivilegedAccountSecretId { + get { + return this.privilegedAccountSecretIdField; + } + set { + this.privilegedAccountSecretIdField = value; + } + } + + /// + public bool Active { + get { + return this.activeField; + } + set { + this.activeField = value; + } + } + + /// + public bool RestartOnPasswordChange { + get { + return this.restartOnPasswordChangeField; + } + set { + this.restartOnPasswordChangeField = value; + } + } + + /// + public int WaitBeforeSeconds { + get { + return this.waitBeforeSecondsField; + } + set { + this.waitBeforeSecondsField = value; + } + } + + /// + public AdditionalDependencyInfoJson AdditionalInfo { + get { + return this.additionalInfoField; + } + set { + this.additionalInfoField = value; + } + } + + /// + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + } + } + + /// + public int ScriptId { + get { + return this.scriptIdField; + } + set { + this.scriptIdField = value; + } + } + + /// + public int SecretDependencyId { + get { + return this.secretDependencyIdField; + } + set { + this.secretDependencyIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable SSHKeySecretId { + get { + return this.sSHKeySecretIdField; + } + set { + this.sSHKeySecretIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable SecretDependencyTemplateId { + get { + return this.secretDependencyTemplateIdField; + } + set { + this.secretDependencyTemplateIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable SecretDependencyGroupId { + get { + return this.secretDependencyGroupIdField; + } + set { + this.secretDependencyGroupIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class AdditionalDependencyInfoJson { + + private string regexField; + + private string powershellArgumentsField; + + private SshScriptArgument[] sshArgumentsField; + + private SqlScriptArgument[] sqlArgumentsField; + + private OdbcConnectionArg[] odbcConnectionArgumentsField; + + private DependencyScanItemField[] dependencyScanItemFieldsField; + + private string portField; + + private string databaseField; + + private string serverKeyDigestField; + + /// + public string Regex { + get { + return this.regexField; + } + set { + this.regexField = value; + } + } + + /// + public string PowershellArguments { + get { + return this.powershellArgumentsField; + } + set { + this.powershellArgumentsField = value; + } + } + + /// + public SshScriptArgument[] SshArguments { + get { + return this.sshArgumentsField; + } + set { + this.sshArgumentsField = value; + } + } + + /// + public SqlScriptArgument[] SqlArguments { + get { + return this.sqlArgumentsField; + } + set { + this.sqlArgumentsField = value; + } + } + + /// + public OdbcConnectionArg[] OdbcConnectionArguments { + get { + return this.odbcConnectionArgumentsField; + } + set { + this.odbcConnectionArgumentsField = value; + } + } + + /// + public DependencyScanItemField[] DependencyScanItemFields { + get { + return this.dependencyScanItemFieldsField; + } + set { + this.dependencyScanItemFieldsField = value; + } + } + + /// + public string Port { + get { + return this.portField; + } + set { + this.portField = value; + } + } + + /// + public string Database { + get { + return this.databaseField; + } + set { + this.databaseField = value; + } + } + + /// + public string ServerKeyDigest { + get { + return this.serverKeyDigestField; + } + set { + this.serverKeyDigestField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SshScriptArgument { + + private string nameField; + + private string valueField; + + private SshArgumentType sshTypeField; + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public string Value { + get { + return this.valueField; + } + set { + this.valueField = value; + } + } + + /// + public SshArgumentType SshType { + get { + return this.sshTypeField; + } + set { + this.sshTypeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public enum SshArgumentType { + + /// + Interpreted, + + /// + Literal, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SqlScriptArgument { + + private string nameField; + + private object valueField; + + private DbType dbTypeField; + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public object Value { + get { + return this.valueField; + } + set { + this.valueField = value; + } + } + + /// + public DbType DbType { + get { + return this.dbTypeField; + } + set { + this.dbTypeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public enum DbType { + + /// + AnsiString, + + /// + Binary, + + /// + Byte, + + /// + Boolean, + + /// + Currency, + + /// + Date, + + /// + DateTime, + + /// + Decimal, + + /// + Double, + + /// + Guid, + + /// + Int16, + + /// + Int32, + + /// + Int64, + + /// + Object, + + /// + SByte, + + /// + Single, + + /// + String, + + /// + Time, + + /// + UInt16, + + /// + UInt32, + + /// + UInt64, + + /// + VarNumeric, + + /// + AnsiStringFixedLength, + + /// + StringFixedLength, + + /// + Xml, + + /// + DateTime2, + + /// + DateTimeOffset, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class OdbcConnectionArg { + + private string nameField; + + private string valueField; + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public string Value { + get { + return this.valueField; + } + set { + this.valueField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class DependencyScanItemField { + + private int scanItemFieldIdField; + + private string nameField; + + private string valueField; + + private string parentNameField; + + /// + public int ScanItemFieldId { + get { + return this.scanItemFieldIdField; + } + set { + this.scanItemFieldIdField = value; + } + } + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public string Value { + get { + return this.valueField; + } + set { + this.valueField = value; + } + } + + /// + public string ParentName { + get { + return this.parentNameField; + } + set { + this.parentNameField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class AuditSecret { + + private int auditSecretIdField; + + private int secretIdField; + + private System.DateTime dateRecordedField; + + private string actionField; + + private string notesField; + + private int userIdField; + + private string secretNameField; + + private string ipAddressField; + + private int referenceIdField; + + private string byUserDisplayNameField; + + private string ticketNumberField; + + /// + public int AuditSecretId { + get { + return this.auditSecretIdField; + } + set { + this.auditSecretIdField = value; + } + } + + /// + public int SecretId { + get { + return this.secretIdField; + } + set { + this.secretIdField = value; + } + } + + /// + public System.DateTime DateRecorded { + get { + return this.dateRecordedField; + } + set { + this.dateRecordedField = value; + } + } + + /// + public string Action { + get { + return this.actionField; + } + set { + this.actionField = value; + } + } + + /// + public string Notes { + get { + return this.notesField; + } + set { + this.notesField = value; + } + } + + /// + public int UserId { + get { + return this.userIdField; + } + set { + this.userIdField = value; + } + } + + /// + public string SecretName { + get { + return this.secretNameField; + } + set { + this.secretNameField = value; + } + } + + /// + public string IpAddress { + get { + return this.ipAddressField; + } + set { + this.ipAddressField = value; + } + } + + /// + public int ReferenceId { + get { + return this.referenceIdField; + } + set { + this.referenceIdField = value; + } + } + + /// + public string ByUserDisplayName { + get { + return this.byUserDisplayNameField; + } + set { + this.byUserDisplayNameField = value; + } + } + + /// + public string TicketNumber { + get { + return this.ticketNumberField; + } + set { + this.ticketNumberField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetSecretAuditResult { + + private string[] errorsField; + + private AuditSecret[] secretAuditsField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public AuditSecret[] SecretAudits { + get { + return this.secretAuditsField; + } + set { + this.secretAuditsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SearchFolderResult { + + private string[] errorsField; + + private Folder[] foldersField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public Folder[] Folders { + get { + return this.foldersField; + } + set { + this.foldersField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FolderExtended))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class Folder { + + private int idField; + + private string nameField; + + private int typeIdField; + + private int parentFolderIdField; + + /// + public int Id { + get { + return this.idField; + } + set { + this.idField = value; + } + } + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public int TypeId { + get { + return this.typeIdField; + } + set { + this.typeIdField = value; + } + } + + /// + public int ParentFolderId { + get { + return this.parentFolderIdField; + } + set { + this.parentFolderIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class FolderExtended : Folder { + + private FolderPermissions permissionSettingsField; + + private FolderSettings settingsField; + + /// + public FolderPermissions PermissionSettings { + get { + return this.permissionSettingsField; + } + set { + this.permissionSettingsField = value; + } + } + + /// + public FolderSettings Settings { + get { + return this.settingsField; + } + set { + this.settingsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class FolderPermissions { + + private System.Nullable isChangeToPermissionsField; + + private System.Nullable inheritPermissionsEnabledField; + + private FolderPermission[] permissionsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable IsChangeToPermissions { + get { + return this.isChangeToPermissionsField; + } + set { + this.isChangeToPermissionsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable InheritPermissionsEnabled { + get { + return this.inheritPermissionsEnabledField; + } + set { + this.inheritPermissionsEnabledField = value; + } + } + + /// + public FolderPermission[] Permissions { + get { + return this.permissionsField; + } + set { + this.permissionsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class FolderPermission { + + private GroupOrUserRecord userOrGroupField; + + private string folderAccessRoleNameField; + + private System.Nullable folderAccessRoleIdField; + + private string secretAccessRoleNameField; + + private System.Nullable secretAccessRoleIdField; + + /// + public GroupOrUserRecord UserOrGroup { + get { + return this.userOrGroupField; + } + set { + this.userOrGroupField = value; + } + } + + /// + public string FolderAccessRoleName { + get { + return this.folderAccessRoleNameField; + } + set { + this.folderAccessRoleNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable FolderAccessRoleId { + get { + return this.folderAccessRoleIdField; + } + set { + this.folderAccessRoleIdField = value; + } + } + + /// + public string SecretAccessRoleName { + get { + return this.secretAccessRoleNameField; + } + set { + this.secretAccessRoleNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable SecretAccessRoleId { + get { + return this.secretAccessRoleIdField; + } + set { + this.secretAccessRoleIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GroupOrUserRecord { + + private string nameField; + + private string domainNameField; + + private bool isUserField; + + private System.Nullable groupIdField; + + private System.Nullable userIdField; + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public string DomainName { + get { + return this.domainNameField; + } + set { + this.domainNameField = value; + } + } + + /// + public bool IsUser { + get { + return this.isUserField; + } + set { + this.isUserField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable GroupId { + get { + return this.groupIdField; + } + set { + this.groupIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable UserId { + get { + return this.userIdField; + } + set { + this.userIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class FolderSettings { + + private System.Nullable isChangeToSettingsField; + + private System.Nullable inheritSecretPolicyField; + + private System.Nullable secretPolicyIdField; + + private SecretType[] associatedTemplatesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable IsChangeToSettings { + get { + return this.isChangeToSettingsField; + } + set { + this.isChangeToSettingsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable InheritSecretPolicy { + get { + return this.inheritSecretPolicyField; + } + set { + this.inheritSecretPolicyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable SecretPolicyId { + get { + return this.secretPolicyIdField; + } + set { + this.secretPolicyIdField = value; + } + } + + /// + public SecretType[] AssociatedTemplates { + get { + return this.associatedTemplatesField; + } + set { + this.associatedTemplatesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretType : TrackChanges { + + private string secretTypeDescriptionField; + + private int typeIDField; + + private int rPCRetryIntervalField; + + private System.Nullable rPCMaxAttemptsField; + + private bool launcherTypeReadyField; + + private bool enableHeartBeatField; + + private int secretNameHistoryLengthField; + + private string namePatternField; + + private string namePatternErrorMessageField; + + private bool activeField; + + private string nameField; + + private int organizationIdField; + + private int expirationFieldIdField; + + private int expirationDaysField; + + private int passwordTypeIdField; + + private bool passwordTypeReadyField; + + private string imageClassField; + + private int heartBeatCheckIntervalField; + + private bool validatePasswordRequirementsOnCreateField; + + private bool validatePasswordRequirementsOnEditField; + + private System.Nullable defaultPrivilegedAccountSecretIdField; + + private int basicHomeDisplayFieldIdField; + + private System.Nullable oneTimePasswordEnabledField; + + private System.Nullable oneTimePasswordHashModeField; + + private System.Nullable oneTimePasswordDurationSecondsField; + + private System.Nullable oneTimePasswordCodeLengthField; + + private System.Nullable secretCountField; + + /// + public string SecretTypeDescription { + get { + return this.secretTypeDescriptionField; + } + set { + this.secretTypeDescriptionField = value; + } + } + + /// + public int TypeID { + get { + return this.typeIDField; + } + set { + this.typeIDField = value; + } + } + + /// + public int RPCRetryInterval { + get { + return this.rPCRetryIntervalField; + } + set { + this.rPCRetryIntervalField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable RPCMaxAttempts { + get { + return this.rPCMaxAttemptsField; + } + set { + this.rPCMaxAttemptsField = value; + } + } + + /// + public bool LauncherTypeReady { + get { + return this.launcherTypeReadyField; + } + set { + this.launcherTypeReadyField = value; + } + } + + /// + public bool EnableHeartBeat { + get { + return this.enableHeartBeatField; + } + set { + this.enableHeartBeatField = value; + } + } + + /// + public int SecretNameHistoryLength { + get { + return this.secretNameHistoryLengthField; + } + set { + this.secretNameHistoryLengthField = value; + } + } + + /// + public string NamePattern { + get { + return this.namePatternField; + } + set { + this.namePatternField = value; + } + } + + /// + public string NamePatternErrorMessage { + get { + return this.namePatternErrorMessageField; + } + set { + this.namePatternErrorMessageField = value; + } + } + + /// + public bool Active { + get { + return this.activeField; + } + set { + this.activeField = value; + } + } + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public int OrganizationId { + get { + return this.organizationIdField; + } + set { + this.organizationIdField = value; + } + } + + /// + public int ExpirationFieldId { + get { + return this.expirationFieldIdField; + } + set { + this.expirationFieldIdField = value; + } + } + + /// + public int ExpirationDays { + get { + return this.expirationDaysField; + } + set { + this.expirationDaysField = value; + } + } + + /// + public int PasswordTypeId { + get { + return this.passwordTypeIdField; + } + set { + this.passwordTypeIdField = value; + } + } + + /// + public bool PasswordTypeReady { + get { + return this.passwordTypeReadyField; + } + set { + this.passwordTypeReadyField = value; + } + } + + /// + public string ImageClass { + get { + return this.imageClassField; + } + set { + this.imageClassField = value; + } + } + + /// + public int HeartBeatCheckInterval { + get { + return this.heartBeatCheckIntervalField; + } + set { + this.heartBeatCheckIntervalField = value; + } + } + + /// + public bool ValidatePasswordRequirementsOnCreate { + get { + return this.validatePasswordRequirementsOnCreateField; + } + set { + this.validatePasswordRequirementsOnCreateField = value; + } + } + + /// + public bool ValidatePasswordRequirementsOnEdit { + get { + return this.validatePasswordRequirementsOnEditField; + } + set { + this.validatePasswordRequirementsOnEditField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable DefaultPrivilegedAccountSecretId { + get { + return this.defaultPrivilegedAccountSecretIdField; + } + set { + this.defaultPrivilegedAccountSecretIdField = value; + } + } + + /// + public int BasicHomeDisplayFieldId { + get { + return this.basicHomeDisplayFieldIdField; + } + set { + this.basicHomeDisplayFieldIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable OneTimePasswordEnabled { + get { + return this.oneTimePasswordEnabledField; + } + set { + this.oneTimePasswordEnabledField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable OneTimePasswordHashMode { + get { + return this.oneTimePasswordHashModeField; + } + set { + this.oneTimePasswordHashModeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable OneTimePasswordDurationSeconds { + get { + return this.oneTimePasswordDurationSecondsField; + } + set { + this.oneTimePasswordDurationSecondsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable OneTimePasswordCodeLength { + get { + return this.oneTimePasswordCodeLengthField; + } + set { + this.oneTimePasswordCodeLengthField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable SecretCount { + get { + return this.secretCountField; + } + set { + this.secretCountField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SecretType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class TrackChanges { + + private bool hasBeenDeletedField; + + private object storageField; + + /// + public bool HasBeenDeleted { + get { + return this.hasBeenDeletedField; + } + set { + this.hasBeenDeletedField = value; + } + } + + /// + public object Storage { + get { + return this.storageField; + } + set { + this.storageField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class FolderExtendedGetNewRequest { + + private string folderNameField; + + private System.Nullable parentFolderIdField; + + private System.Nullable inheritPermissionsField; + + /// + public string FolderName { + get { + return this.folderNameField; + } + set { + this.folderNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable ParentFolderId { + get { + return this.parentFolderIdField; + } + set { + this.parentFolderIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable InheritPermissions { + get { + return this.inheritPermissionsField; + } + set { + this.inheritPermissionsField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FolderExtendedGetNewResult))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FolderExtendedUpdateResult))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FolderExtendedGetResult))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FolderExtendedCreateResult))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class FolderExtendedResultBase { + + private bool successField; + + private string[] errorsField; + + /// + public bool Success { + get { + return this.successField; + } + set { + this.successField = value; + } + } + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class FolderExtendedGetNewResult : FolderExtendedResultBase { + + private FolderExtended folderField; + + /// + public FolderExtended Folder { + get { + return this.folderField; + } + set { + this.folderField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class FolderExtendedUpdateResult : FolderExtendedResultBase { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class FolderExtendedGetResult : FolderExtendedResultBase { + + private FolderExtended folderField; + + /// + public FolderExtended Folder { + get { + return this.folderField; + } + set { + this.folderField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class FolderExtendedCreateResult : FolderExtendedResultBase { + + private int folderIdField; + + /// + public int FolderId { + get { + return this.folderIdField; + } + set { + this.folderIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetFoldersResult { + + private Folder[] foldersField; + + private string[] errorsField; + + private bool successField; + + /// + public Folder[] Folders { + get { + return this.foldersField; + } + set { + this.foldersField = value; + } + } + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public bool Success { + get { + return this.successField; + } + set { + this.successField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetFolderResult { + + private Folder folderField; + + private string[] errorsField; + + private bool successField; + + /// + public Folder Folder { + get { + return this.folderField; + } + set { + this.folderField = value; + } + } + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public bool Success { + get { + return this.successField; + } + set { + this.successField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class VersionGetResult { + + private string[] errorsField; + + private string versionField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public string Version { + get { + return this.versionField; + } + set { + this.versionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GeneratePasswordResult { + + private string generatedPasswordField; + + private string[] errorsField; + + /// + public string GeneratedPassword { + get { + return this.generatedPasswordField; + } + set { + this.generatedPasswordField = value; + } + } + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretTemplate { + + private int idField; + + private string nameField; + + private SecretField[] fieldsField; + + /// + public int Id { + get { + return this.idField; + } + set { + this.idField = value; + } + } + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public SecretField[] Fields { + get { + return this.fieldsField; + } + set { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretField { + + private string displayNameField; + + private int idField; + + private bool isPasswordField; + + private bool isUrlField; + + private bool isNotesField; + + private bool isFileField; + + /// + public string DisplayName { + get { + return this.displayNameField; + } + set { + this.displayNameField = value; + } + } + + /// + public int Id { + get { + return this.idField; + } + set { + this.idField = value; + } + } + + /// + public bool IsPassword { + get { + return this.isPasswordField; + } + set { + this.isPasswordField = value; + } + } + + /// + public bool IsUrl { + get { + return this.isUrlField; + } + set { + this.isUrlField = value; + } + } + + /// + public bool IsNotes { + get { + return this.isNotesField; + } + set { + this.isNotesField = value; + } + } + + /// + public bool IsFile { + get { + return this.isFileField; + } + set { + this.isFileField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetSecretTemplatesResult { + + private string[] errorsField; + + private SecretTemplate[] secretTemplatesField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public SecretTemplate[] SecretTemplates { + get { + return this.secretTemplatesField; + } + set { + this.secretTemplatesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetSecretTemplateFieldsResult { + + private string[] errorsField; + + private SecretField[] fieldsField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public SecretField[] Fields { + get { + return this.fieldsField; + } + set { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class AddSecretResult { + + private string[] errorsField; + + private Secret secretField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public Secret Secret { + get { + return this.secretField; + } + set { + this.secretField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class Secret { + + private string nameField; + + private SecretItem[] itemsField; + + private int idField; + + private int secretTypeIdField; + + private int folderIdField; + + private bool isWebLauncherField; + + private System.Nullable checkOutMinutesRemainingField; + + private System.Nullable isCheckedOutField; + + private string checkOutUserDisplayNameField; + + private System.Nullable checkOutUserIdField; + + private System.Nullable isOutOfSyncField; + + private System.Nullable isRestrictedField; + + private string outOfSyncReasonField; + + private SecretSettings secretSettingsField; + + private SecretPermissions secretPermissionsField; + + private System.Nullable activeField; + + private bool activeFieldSpecified; + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public SecretItem[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + } + } + + /// + public int Id { + get { + return this.idField; + } + set { + this.idField = value; + } + } + + /// + public int SecretTypeId { + get { + return this.secretTypeIdField; + } + set { + this.secretTypeIdField = value; + } + } + + /// + public int FolderId { + get { + return this.folderIdField; + } + set { + this.folderIdField = value; + } + } + + /// + public bool IsWebLauncher { + get { + return this.isWebLauncherField; + } + set { + this.isWebLauncherField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable CheckOutMinutesRemaining { + get { + return this.checkOutMinutesRemainingField; + } + set { + this.checkOutMinutesRemainingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable IsCheckedOut { + get { + return this.isCheckedOutField; + } + set { + this.isCheckedOutField = value; + } + } + + /// + public string CheckOutUserDisplayName { + get { + return this.checkOutUserDisplayNameField; + } + set { + this.checkOutUserDisplayNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable CheckOutUserId { + get { + return this.checkOutUserIdField; + } + set { + this.checkOutUserIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable IsOutOfSync { + get { + return this.isOutOfSyncField; + } + set { + this.isOutOfSyncField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable IsRestricted { + get { + return this.isRestrictedField; + } + set { + this.isRestrictedField = value; + } + } + + /// + public string OutOfSyncReason { + get { + return this.outOfSyncReasonField; + } + set { + this.outOfSyncReasonField = value; + } + } + + /// + public SecretSettings SecretSettings { + get { + return this.secretSettingsField; + } + set { + this.secretSettingsField = value; + } + } + + /// + public SecretPermissions SecretPermissions { + get { + return this.secretPermissionsField; + } + set { + this.secretPermissionsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable Active { + get { + return this.activeField; + } + set { + this.activeField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ActiveSpecified { + get { + return this.activeFieldSpecified; + } + set { + this.activeFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretItem { + + private string valueField; + + private System.Nullable idField; + + private System.Nullable fieldIdField; + + private string fieldNameField; + + private bool isFileField; + + private bool isNotesField; + + private bool isPasswordField; + + private string fieldDisplayNameField; + + /// + public string Value { + get { + return this.valueField; + } + set { + this.valueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable Id { + get { + return this.idField; + } + set { + this.idField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable FieldId { + get { + return this.fieldIdField; + } + set { + this.fieldIdField = value; + } + } + + /// + public string FieldName { + get { + return this.fieldNameField; + } + set { + this.fieldNameField = value; + } + } + + /// + public bool IsFile { + get { + return this.isFileField; + } + set { + this.isFileField = value; + } + } + + /// + public bool IsNotes { + get { + return this.isNotesField; + } + set { + this.isNotesField = value; + } + } + + /// + public bool IsPassword { + get { + return this.isPasswordField; + } + set { + this.isPasswordField = value; + } + } + + /// + public string FieldDisplayName { + get { + return this.fieldDisplayNameField; + } + set { + this.fieldDisplayNameField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretSettings { + + private System.Nullable autoChangeEnabledField; + + private System.Nullable requiresApprovalForAccessField; + + private System.Nullable requiresCommentField; + + private System.Nullable checkOutEnabledField; + + private System.Nullable checkOutChangePasswordEnabledField; + + private System.Nullable proxyEnabledField; + + private System.Nullable sessionRecordingEnabledField; + + private System.Nullable restrictSshCommandsField; + + private System.Nullable allowOwnersUnrestrictedSshCommandsField; + + private System.Nullable privilegedSecretIdField; + + private int[] associatedSecretIdsField; + + private GroupOrUserRecord[] approversField; + + private SshCommandMenuAccessPermission[] sshCommandMenuAccessPermissionsField; + + private bool isChangeToSettingsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable AutoChangeEnabled { + get { + return this.autoChangeEnabledField; + } + set { + this.autoChangeEnabledField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable RequiresApprovalForAccess { + get { + return this.requiresApprovalForAccessField; + } + set { + this.requiresApprovalForAccessField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable RequiresComment { + get { + return this.requiresCommentField; + } + set { + this.requiresCommentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable CheckOutEnabled { + get { + return this.checkOutEnabledField; + } + set { + this.checkOutEnabledField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable CheckOutChangePasswordEnabled { + get { + return this.checkOutChangePasswordEnabledField; + } + set { + this.checkOutChangePasswordEnabledField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable ProxyEnabled { + get { + return this.proxyEnabledField; + } + set { + this.proxyEnabledField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable SessionRecordingEnabled { + get { + return this.sessionRecordingEnabledField; + } + set { + this.sessionRecordingEnabledField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable RestrictSshCommands { + get { + return this.restrictSshCommandsField; + } + set { + this.restrictSshCommandsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable AllowOwnersUnrestrictedSshCommands { + get { + return this.allowOwnersUnrestrictedSshCommandsField; + } + set { + this.allowOwnersUnrestrictedSshCommandsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable PrivilegedSecretId { + get { + return this.privilegedSecretIdField; + } + set { + this.privilegedSecretIdField = value; + } + } + + /// + public int[] AssociatedSecretIds { + get { + return this.associatedSecretIdsField; + } + set { + this.associatedSecretIdsField = value; + } + } + + /// + public GroupOrUserRecord[] Approvers { + get { + return this.approversField; + } + set { + this.approversField = value; + } + } + + /// + public SshCommandMenuAccessPermission[] SshCommandMenuAccessPermissions { + get { + return this.sshCommandMenuAccessPermissionsField; + } + set { + this.sshCommandMenuAccessPermissionsField = value; + } + } + + /// + public bool IsChangeToSettings { + get { + return this.isChangeToSettingsField; + } + set { + this.isChangeToSettingsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SshCommandMenuAccessPermission { + + private GroupOrUserRecord groupOrUserRecordField; + + private int secretIdField; + + private string concurrencyIdField; + + private string displayNameField; + + private string sshCommandMenuNameField; + + private bool isUnrestrictedField; + + private System.Nullable sshCommandMenuIdField; + + /// + public GroupOrUserRecord GroupOrUserRecord { + get { + return this.groupOrUserRecordField; + } + set { + this.groupOrUserRecordField = value; + } + } + + /// + public int SecretId { + get { + return this.secretIdField; + } + set { + this.secretIdField = value; + } + } + + /// + public string ConcurrencyId { + get { + return this.concurrencyIdField; + } + set { + this.concurrencyIdField = value; + } + } + + /// + public string DisplayName { + get { + return this.displayNameField; + } + set { + this.displayNameField = value; + } + } + + /// + public string SshCommandMenuName { + get { + return this.sshCommandMenuNameField; + } + set { + this.sshCommandMenuNameField = value; + } + } + + /// + public bool IsUnrestricted { + get { + return this.isUnrestrictedField; + } + set { + this.isUnrestrictedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable SshCommandMenuId { + get { + return this.sshCommandMenuIdField; + } + set { + this.sshCommandMenuIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretPermissions { + + private bool currentUserHasViewField; + + private bool currentUserHasEditField; + + private bool currentUserHasOwnerField; + + private System.Nullable inheritPermissionsEnabledField; + + private bool isChangeToPermissionsField; + + private Permission[] permissionsField; + + /// + public bool CurrentUserHasView { + get { + return this.currentUserHasViewField; + } + set { + this.currentUserHasViewField = value; + } + } + + /// + public bool CurrentUserHasEdit { + get { + return this.currentUserHasEditField; + } + set { + this.currentUserHasEditField = value; + } + } + + /// + public bool CurrentUserHasOwner { + get { + return this.currentUserHasOwnerField; + } + set { + this.currentUserHasOwnerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable InheritPermissionsEnabled { + get { + return this.inheritPermissionsEnabledField; + } + set { + this.inheritPermissionsEnabledField = value; + } + } + + /// + public bool IsChangeToPermissions { + get { + return this.isChangeToPermissionsField; + } + set { + this.isChangeToPermissionsField = value; + } + } + + /// + public Permission[] Permissions { + get { + return this.permissionsField; + } + set { + this.permissionsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class Permission { + + private GroupOrUserRecord userOrGroupField; + + private bool viewField; + + private bool editField; + + private bool ownerField; + + private string secretAccessRoleNameField; + + private System.Nullable secretAccessRoleIdField; + + /// + public GroupOrUserRecord UserOrGroup { + get { + return this.userOrGroupField; + } + set { + this.userOrGroupField = value; + } + } + + /// + public bool View { + get { + return this.viewField; + } + set { + this.viewField = value; + } + } + + /// + public bool Edit { + get { + return this.editField; + } + set { + this.editField = value; + } + } + + /// + public bool Owner { + get { + return this.ownerField; + } + set { + this.ownerField = value; + } + } + + /// + public string SecretAccessRoleName { + get { + return this.secretAccessRoleNameField; + } + set { + this.secretAccessRoleNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable SecretAccessRoleId { + get { + return this.secretAccessRoleIdField; + } + set { + this.secretAccessRoleIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetFavoritesResult { + + private string[] errorsField; + + private SecretSummary[] secretSummariesField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public SecretSummary[] SecretSummaries { + get { + return this.secretSummariesField; + } + set { + this.secretSummariesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretSummary { + + private int secretIdField; + + private string secretNameField; + + private string secretTypeNameField; + + private int secretTypeIdField; + + private int folderIdField; + + private bool isRestrictedField; + + /// + public int SecretId { + get { + return this.secretIdField; + } + set { + this.secretIdField = value; + } + } + + /// + public string SecretName { + get { + return this.secretNameField; + } + set { + this.secretNameField = value; + } + } + + /// + public string SecretTypeName { + get { + return this.secretTypeNameField; + } + set { + this.secretTypeNameField = value; + } + } + + /// + public int SecretTypeId { + get { + return this.secretTypeIdField; + } + set { + this.secretTypeIdField = value; + } + } + + /// + public int FolderId { + get { + return this.folderIdField; + } + set { + this.folderIdField = value; + } + } + + /// + public bool IsRestricted { + get { + return this.isRestrictedField; + } + set { + this.isRestrictedField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SearchSecretsResult { + + private string[] errorsField; + + private SecretSummary[] secretSummariesField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public SecretSummary[] SecretSummaries { + get { + return this.secretSummariesField; + } + set { + this.secretSummariesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetSecretsByFieldValueResult { + + private string[] errorsField; + + private Secret[] secretsField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public Secret[] Secrets { + get { + return this.secretsField; + } + set { + this.secretsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SqlScriptArgument2 { + + private string nameField; + + private object valueField; + + private DbType dbTypeField; + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public object Value { + get { + return this.valueField; + } + set { + this.valueField = value; + } + } + + /// + public DbType DbType { + get { + return this.dbTypeField; + } + set { + this.dbTypeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class AdditionalDataSqlObject { + + private SqlScriptArgument2[] paramsField; + + private int passwordChangerIdField; + + private int versionField; + + private string databaseField; + + private string portField; + + /// + public SqlScriptArgument2[] Params { + get { + return this.paramsField; + } + set { + this.paramsField = value; + } + } + + /// + public int PasswordChangerId { + get { + return this.passwordChangerIdField; + } + set { + this.passwordChangerIdField = value; + } + } + + /// + public int Version { + get { + return this.versionField; + } + set { + this.versionField = value; + } + } + + /// + public string Database { + get { + return this.databaseField; + } + set { + this.databaseField = value; + } + } + + /// + public string Port { + get { + return this.portField; + } + set { + this.portField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(PowerShellUserScript))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SshUserScript))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SqlUserScript))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public abstract partial class UserScript { + + private int scriptIdField; + + private string nameField; + + private string descriptionField; + + private string scriptField; + + private bool activeField; + + /// + public int ScriptId { + get { + return this.scriptIdField; + } + set { + this.scriptIdField = value; + } + } + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + } + } + + /// + public string Script { + get { + return this.scriptField; + } + set { + this.scriptField = value; + } + } + + /// + public bool Active { + get { + return this.activeField; + } + set { + this.activeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class PowerShellUserScript : UserScript { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SshUserScript : UserScript { + + private AdditionalDataSshObject additionalDataObjectField; + + /// + public AdditionalDataSshObject AdditionalDataObject { + get { + return this.additionalDataObjectField; + } + set { + this.additionalDataObjectField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SqlUserScript : UserScript { + + private AdditionalDataSqlObject additionalDataObjectField; + + /// + public AdditionalDataSqlObject AdditionalDataObject { + get { + return this.additionalDataObjectField; + } + set { + this.additionalDataObjectField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SshCommandMenuGroupMap { + + private System.Nullable sshCommandMenuIdField; + + private UserGroupMap userGroupMapField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable SshCommandMenuId { + get { + return this.sshCommandMenuIdField; + } + set { + this.sshCommandMenuIdField = value; + } + } + + /// + public UserGroupMap UserGroupMap { + get { + return this.userGroupMapField; + } + set { + this.userGroupMapField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class UserGroupMap { + + private int idField; + + private UserGroupMapType userGroupMapTypeField; + + /// + public int Id { + get { + return this.idField; + } + set { + this.idField = value; + } + } + + /// + public UserGroupMapType UserGroupMapType { + get { + return this.userGroupMapTypeField; + } + set { + this.userGroupMapTypeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public enum UserGroupMapType { + + /// + User, + + /// + Group, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretPolicyItem { + + private int secretPolicyItemMapIdField; + + private int secretPolicyItemIdField; + + private string policyApplyCodeField; + + private System.Nullable enabledValueField; + + private System.Nullable integerValueField; + + private System.Nullable secretIdField; + + private string stringValueField; + + private string nameField; + + private string descriptionField; + + private string valueTypeField; + + private System.Nullable parentSecretPolicyItemIdField; + + private string sectionNameField; + + private UserGroupMap[] userGroupMapsField; + + private SshCommandMenuGroupMap[] sshCommandMenuGroupMapsField; + + /// + public int SecretPolicyItemMapId { + get { + return this.secretPolicyItemMapIdField; + } + set { + this.secretPolicyItemMapIdField = value; + } + } + + /// + public int SecretPolicyItemId { + get { + return this.secretPolicyItemIdField; + } + set { + this.secretPolicyItemIdField = value; + } + } + + /// + public string PolicyApplyCode { + get { + return this.policyApplyCodeField; + } + set { + this.policyApplyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable EnabledValue { + get { + return this.enabledValueField; + } + set { + this.enabledValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable IntegerValue { + get { + return this.integerValueField; + } + set { + this.integerValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable SecretId { + get { + return this.secretIdField; + } + set { + this.secretIdField = value; + } + } + + /// + public string StringValue { + get { + return this.stringValueField; + } + set { + this.stringValueField = value; + } + } + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + } + } + + /// + public string ValueType { + get { + return this.valueTypeField; + } + set { + this.valueTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable ParentSecretPolicyItemId { + get { + return this.parentSecretPolicyItemIdField; + } + set { + this.parentSecretPolicyItemIdField = value; + } + } + + /// + public string SectionName { + get { + return this.sectionNameField; + } + set { + this.sectionNameField = value; + } + } + + /// + public UserGroupMap[] UserGroupMaps { + get { + return this.userGroupMapsField; + } + set { + this.userGroupMapsField = value; + } + } + + /// + public SshCommandMenuGroupMap[] SshCommandMenuGroupMaps { + get { + return this.sshCommandMenuGroupMapsField; + } + set { + this.sshCommandMenuGroupMapsField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SecretPolicyDetail))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretPolicySummary { + + private int secretPolicyIdField; + + private string secretPolicyNameField; + + private string secretPolicyDescriptionField; + + private bool activeField; + + /// + public int SecretPolicyId { + get { + return this.secretPolicyIdField; + } + set { + this.secretPolicyIdField = value; + } + } + + /// + public string SecretPolicyName { + get { + return this.secretPolicyNameField; + } + set { + this.secretPolicyNameField = value; + } + } + + /// + public string SecretPolicyDescription { + get { + return this.secretPolicyDescriptionField; + } + set { + this.secretPolicyDescriptionField = value; + } + } + + /// + public bool Active { + get { + return this.activeField; + } + set { + this.activeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretPolicyDetail : SecretPolicySummary { + + private SecretPolicyItem[] secretPolicyItemsField; + + /// + public SecretPolicyItem[] SecretPolicyItems { + get { + return this.secretPolicyItemsField; + } + set { + this.secretPolicyItemsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretPolicyForSecret { + + private int secretIdField; + + private System.Nullable secretPolicyIdField; + + private bool inheritField; + + /// + public int SecretId { + get { + return this.secretIdField; + } + set { + this.secretIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable SecretPolicyId { + get { + return this.secretPolicyIdField; + } + set { + this.secretPolicyIdField = value; + } + } + + /// + public bool Inherit { + get { + return this.inheritField; + } + set { + this.inheritField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateUserScriptResult))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetUserScriptResult))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetUserScriptsResult))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SecretPolicyResult))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SearchSecretPoliciesResult))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SecretPolicyForSecretResult))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SSHCredentialsResult))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FileDownloadResult))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateFolderResult))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class WebServiceResult { + + private string[] errorsField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class UpdateUserScriptResult : WebServiceResult { + + private UserScript userScriptField; + + /// + public UserScript UserScript { + get { + return this.userScriptField; + } + set { + this.userScriptField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetUserScriptResult : WebServiceResult { + + private UserScript userScriptField; + + /// + public UserScript UserScript { + get { + return this.userScriptField; + } + set { + this.userScriptField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetUserScriptsResult : WebServiceResult { + + private UserScript[] userScriptsField; + + /// + public UserScript[] UserScripts { + get { + return this.userScriptsField; + } + set { + this.userScriptsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretPolicyResult : WebServiceResult { + + private SecretPolicyDetail secretPolicyField; + + /// + public SecretPolicyDetail SecretPolicy { + get { + return this.secretPolicyField; + } + set { + this.secretPolicyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SearchSecretPoliciesResult : WebServiceResult { + + private SecretPolicySummary[] secretPoliciesField; + + /// + public SecretPolicySummary[] SecretPolicies { + get { + return this.secretPoliciesField; + } + set { + this.secretPoliciesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretPolicyForSecretResult : WebServiceResult { + + private SecretPolicyForSecret secretPolicyForSecretField; + + /// + public SecretPolicyForSecret SecretPolicyForSecret { + get { + return this.secretPolicyForSecretField; + } + set { + this.secretPolicyForSecretField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SSHCredentialsResult : WebServiceResult { + + private string usernameField; + + private string passwordField; + + private string hostField; + + private string portField; + + /// + public string Username { + get { + return this.usernameField; + } + set { + this.usernameField = value; + } + } + + /// + public string Password { + get { + return this.passwordField; + } + set { + this.passwordField = value; + } + } + + /// + public string Host { + get { + return this.hostField; + } + set { + this.hostField = value; + } + } + + /// + public string Port { + get { + return this.portField; + } + set { + this.portField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class FileDownloadResult : WebServiceResult { + + private byte[] fileAttachmentField; + + private string fileNameField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] + public byte[] FileAttachment { + get { + return this.fileAttachmentField; + } + set { + this.fileAttachmentField = value; + } + } + + /// + public string FileName { + get { + return this.fileNameField; + } + set { + this.fileNameField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class CreateFolderResult : WebServiceResult { + + private int folderIdField; + + /// + public int FolderId { + get { + return this.folderIdField; + } + set { + this.folderIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetCheckOutStatusResult { + + private string[] errorsField; + + private Secret secretField; + + private int checkOutMinutesRemainingField; + + private bool isCheckedOutField; + + private string checkOutUserDisplayNameField; + + private int checkOutUserIdField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public Secret Secret { + get { + return this.secretField; + } + set { + this.secretField = value; + } + } + + /// + public int CheckOutMinutesRemaining { + get { + return this.checkOutMinutesRemainingField; + } + set { + this.checkOutMinutesRemainingField = value; + } + } + + /// + public bool IsCheckedOut { + get { + return this.isCheckedOutField; + } + set { + this.isCheckedOutField = value; + } + } + + /// + public string CheckOutUserDisplayName { + get { + return this.checkOutUserDisplayNameField; + } + set { + this.checkOutUserDisplayNameField = value; + } + } + + /// + public int CheckOutUserId { + get { + return this.checkOutUserIdField; + } + set { + this.checkOutUserIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class CodeResponse { + + private string errorCodeField; + + private string commentField; + + private string additionalCommentField; + + private System.Nullable ticketSystemIdField; + + /// + public string ErrorCode { + get { + return this.errorCodeField; + } + set { + this.errorCodeField = value; + } + } + + /// + public string Comment { + get { + return this.commentField; + } + set { + this.commentField = value; + } + } + + /// + public string AdditionalComment { + get { + return this.additionalCommentField; + } + set { + this.additionalCommentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable TicketSystemId { + get { + return this.ticketSystemIdField; + } + set { + this.ticketSystemIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretError { + + private string errorCodeField; + + private string errorMessageField; + + private bool allowsResponseField; + + private string commentTitleField; + + private string additionalCommentTitleField; + + /// + public string ErrorCode { + get { + return this.errorCodeField; + } + set { + this.errorCodeField = value; + } + } + + /// + public string ErrorMessage { + get { + return this.errorMessageField; + } + set { + this.errorMessageField = value; + } + } + + /// + public bool AllowsResponse { + get { + return this.allowsResponseField; + } + set { + this.allowsResponseField = value; + } + } + + /// + public string CommentTitle { + get { + return this.commentTitleField; + } + set { + this.commentTitleField = value; + } + } + + /// + public string AdditionalCommentTitle { + get { + return this.additionalCommentTitleField; + } + set { + this.additionalCommentTitleField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetSecretResult { + + private string[] errorsField; + + private SecretError secretErrorField; + + private Secret secretField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public SecretError SecretError { + get { + return this.secretErrorField; + } + set { + this.secretErrorField = value; + } + } + + /// + public Secret Secret { + get { + return this.secretField; + } + set { + this.secretField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class TokenIsValidResult { + + private string[] errorsField; + + private int maxOfflineSecondsField; + + private string versionField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public int MaxOfflineSeconds { + get { + return this.maxOfflineSecondsField; + } + set { + this.maxOfflineSecondsField = value; + } + } + + /// + public string Version { + get { + return this.versionField; + } + set { + this.versionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class ImpersonateResult { + + private string[] errorsField; + + private string tokenField; + + private string authorizeURLField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public string Token { + get { + return this.tokenField; + } + set { + this.tokenField = value; + } + } + + /// + public string AuthorizeURL { + get { + return this.authorizeURLField; + } + set { + this.authorizeURLField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class AuthenticateResult { + + private string[] errorsField; + + private string tokenField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public string Token { + get { + return this.tokenField; + } + set { + this.tokenField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(RequestApprovalResult))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GenericResult { + + private string errorMessageField; + + private string[] debugMessagesField; + + /// + public string ErrorMessage { + get { + return this.errorMessageField; + } + set { + this.errorMessageField = value; + } + } + + /// + public string[] DebugMessages { + get { + return this.debugMessagesField; + } + set { + this.debugMessagesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void ApproveSecretAccessRequestCompletedEventHandler(object sender, ApproveSecretAccessRequestCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ApproveSecretAccessRequestCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal ApproveSecretAccessRequestCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public RequestApprovalResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((RequestApprovalResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void DenySecretAccessRequestCompletedEventHandler(object sender, DenySecretAccessRequestCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DenySecretAccessRequestCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal DenySecretAccessRequestCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public RequestApprovalResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((RequestApprovalResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void AuthenticateCompletedEventHandler(object sender, AuthenticateCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AuthenticateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AuthenticateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public AuthenticateResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((AuthenticateResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void ImpersonateUserCompletedEventHandler(object sender, ImpersonateUserCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ImpersonateUserCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal ImpersonateUserCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public ImpersonateResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((ImpersonateResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void AuthenticateRADIUSCompletedEventHandler(object sender, AuthenticateRADIUSCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AuthenticateRADIUSCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AuthenticateRADIUSCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public AuthenticateResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((AuthenticateResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetTokenIsValidCompletedEventHandler(object sender, GetTokenIsValidCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetTokenIsValidCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetTokenIsValidCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public TokenIsValidResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((TokenIsValidResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetSecretLegacyCompletedEventHandler(object sender, GetSecretLegacyCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSecretLegacyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetSecretLegacyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetSecretResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetSecretResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetSecretCompletedEventHandler(object sender, GetSecretCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSecretCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetSecretCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetSecretResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetSecretResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetCheckOutStatusCompletedEventHandler(object sender, GetCheckOutStatusCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetCheckOutStatusCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetCheckOutStatusCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetCheckOutStatusResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetCheckOutStatusResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void ChangePasswordCompletedEventHandler(object sender, ChangePasswordCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ChangePasswordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal ChangePasswordCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetSecretsByFieldValueCompletedEventHandler(object sender, GetSecretsByFieldValueCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSecretsByFieldValueCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetSecretsByFieldValueCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetSecretsByFieldValueResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetSecretsByFieldValueResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void SearchSecretsByFieldValueCompletedEventHandler(object sender, SearchSecretsByFieldValueCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SearchSecretsByFieldValueCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal SearchSecretsByFieldValueCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SearchSecretsResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SearchSecretsResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetSecretsByExposedFieldValueCompletedEventHandler(object sender, GetSecretsByExposedFieldValueCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSecretsByExposedFieldValueCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetSecretsByExposedFieldValueCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetSecretsByFieldValueResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetSecretsByFieldValueResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void SearchSecretsByExposedFieldValueCompletedEventHandler(object sender, SearchSecretsByExposedFieldValueCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SearchSecretsByExposedFieldValueCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal SearchSecretsByExposedFieldValueCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SearchSecretsResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SearchSecretsResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void SearchSecretsByExposedValuesCompletedEventHandler(object sender, SearchSecretsByExposedValuesCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SearchSecretsByExposedValuesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal SearchSecretsByExposedValuesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SearchSecretsResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SearchSecretsResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void AddUserCompletedEventHandler(object sender, AddUserCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AddUserCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AddUserCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void SearchSecretsCompletedEventHandler(object sender, SearchSecretsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SearchSecretsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal SearchSecretsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SearchSecretsResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SearchSecretsResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void SearchSecretsLegacyCompletedEventHandler(object sender, SearchSecretsLegacyCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SearchSecretsLegacyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal SearchSecretsLegacyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SearchSecretsResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SearchSecretsResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void SearchSecretsByFolderCompletedEventHandler(object sender, SearchSecretsByFolderCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SearchSecretsByFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal SearchSecretsByFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SearchSecretsResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SearchSecretsResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void SearchSecretsByFolderLegacyCompletedEventHandler(object sender, SearchSecretsByFolderLegacyCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SearchSecretsByFolderLegacyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal SearchSecretsByFolderLegacyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SearchSecretsResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SearchSecretsResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetFavoritesCompletedEventHandler(object sender, GetFavoritesCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetFavoritesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetFavoritesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetFavoritesResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetFavoritesResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void UpdateIsFavoriteCompletedEventHandler(object sender, UpdateIsFavoriteCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UpdateIsFavoriteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal UpdateIsFavoriteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void AddSecretCompletedEventHandler(object sender, AddSecretCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AddSecretCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AddSecretCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public AddSecretResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((AddSecretResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void AddNewSecretCompletedEventHandler(object sender, AddNewSecretCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AddNewSecretCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AddNewSecretCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public AddSecretResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((AddSecretResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetNewSecretCompletedEventHandler(object sender, GetNewSecretCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetNewSecretCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetNewSecretCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetSecretResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetSecretResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetSecretTemplateFieldsCompletedEventHandler(object sender, GetSecretTemplateFieldsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSecretTemplateFieldsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetSecretTemplateFieldsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetSecretTemplateFieldsResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetSecretTemplateFieldsResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void UpdateSecretCompletedEventHandler(object sender, UpdateSecretCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UpdateSecretCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal UpdateSecretCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetSecretTemplatesCompletedEventHandler(object sender, GetSecretTemplatesCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSecretTemplatesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetSecretTemplatesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetSecretTemplatesResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetSecretTemplatesResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GeneratePasswordCompletedEventHandler(object sender, GeneratePasswordCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GeneratePasswordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GeneratePasswordCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GeneratePasswordResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GeneratePasswordResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void DeactivateSecretCompletedEventHandler(object sender, DeactivateSecretCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DeactivateSecretCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal DeactivateSecretCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void VersionGetCompletedEventHandler(object sender, VersionGetCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VersionGetCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal VersionGetCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public VersionGetResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((VersionGetResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void FolderGetCompletedEventHandler(object sender, FolderGetCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class FolderGetCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal FolderGetCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetFolderResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetFolderResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void FolderUpdateCompletedEventHandler(object sender, FolderUpdateCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class FolderUpdateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal FolderUpdateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void FolderGetAllChildrenCompletedEventHandler(object sender, FolderGetAllChildrenCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class FolderGetAllChildrenCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal FolderGetAllChildrenCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetFoldersResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetFoldersResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void FolderCreateCompletedEventHandler(object sender, FolderCreateCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class FolderCreateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal FolderCreateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public CreateFolderResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((CreateFolderResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void FolderExtendedCreateCompletedEventHandler(object sender, FolderExtendedCreateCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class FolderExtendedCreateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal FolderExtendedCreateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public FolderExtendedCreateResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((FolderExtendedCreateResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void FolderExtendedGetCompletedEventHandler(object sender, FolderExtendedGetCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class FolderExtendedGetCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal FolderExtendedGetCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public FolderExtendedGetResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((FolderExtendedGetResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void FolderExtendedUpdateCompletedEventHandler(object sender, FolderExtendedUpdateCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class FolderExtendedUpdateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal FolderExtendedUpdateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public FolderExtendedUpdateResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((FolderExtendedUpdateResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void FolderExtendedGetNewCompletedEventHandler(object sender, FolderExtendedGetNewCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class FolderExtendedGetNewCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal FolderExtendedGetNewCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public FolderExtendedGetNewResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((FolderExtendedGetNewResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void SearchFoldersCompletedEventHandler(object sender, SearchFoldersCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SearchFoldersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal SearchFoldersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SearchFolderResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SearchFolderResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void DownloadFileAttachmentCompletedEventHandler(object sender, DownloadFileAttachmentCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DownloadFileAttachmentCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal DownloadFileAttachmentCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public FileDownloadResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((FileDownloadResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void DownloadFileAttachmentByItemIdCompletedEventHandler(object sender, DownloadFileAttachmentByItemIdCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DownloadFileAttachmentByItemIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal DownloadFileAttachmentByItemIdCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public FileDownloadResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((FileDownloadResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void UploadFileAttachmentCompletedEventHandler(object sender, UploadFileAttachmentCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UploadFileAttachmentCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal UploadFileAttachmentCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void UploadFileAttachmentByItemIdCompletedEventHandler(object sender, UploadFileAttachmentByItemIdCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UploadFileAttachmentByItemIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal UploadFileAttachmentByItemIdCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void ExpireSecretCompletedEventHandler(object sender, ExpireSecretCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ExpireSecretCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal ExpireSecretCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void SetCheckOutEnabledCompletedEventHandler(object sender, SetCheckOutEnabledCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SetCheckOutEnabledCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal SetCheckOutEnabledCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void ImportXMLCompletedEventHandler(object sender, ImportXMLCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ImportXMLCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal ImportXMLCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetSecretAuditCompletedEventHandler(object sender, GetSecretAuditCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSecretAuditCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetSecretAuditCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetSecretAuditResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetSecretAuditResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void AddDependencyCompletedEventHandler(object sender, AddDependencyCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AddDependencyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AddDependencyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void RemoveDependencyCompletedEventHandler(object sender, RemoveDependencyCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class RemoveDependencyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal RemoveDependencyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetDependenciesCompletedEventHandler(object sender, GetDependenciesCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetDependenciesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetDependenciesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetDependenciesResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetDependenciesResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void CreateDependencyGroupForSecretCompletedEventHandler(object sender, CreateDependencyGroupForSecretCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class CreateDependencyGroupForSecretCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal CreateDependencyGroupForSecretCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetDependencyGroupsForSecretCompletedEventHandler(object sender, GetDependencyGroupsForSecretCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetDependencyGroupsForSecretCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetDependencyGroupsForSecretCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetDependencyGroupsResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetDependencyGroupsResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void UpdateDependencyGroupForSecretCompletedEventHandler(object sender, UpdateDependencyGroupForSecretCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UpdateDependencyGroupForSecretCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal UpdateDependencyGroupForSecretCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void RemoveDependencyGroupForSecretCompletedEventHandler(object sender, RemoveDependencyGroupForSecretCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class RemoveDependencyGroupForSecretCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal RemoveDependencyGroupForSecretCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetDistributedEnginesCompletedEventHandler(object sender, GetDistributedEnginesCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetDistributedEnginesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetDistributedEnginesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetSitesResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetSitesResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetTicketSystemsCompletedEventHandler(object sender, GetTicketSystemsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetTicketSystemsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetTicketSystemsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetTicketSystemsResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetTicketSystemsResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void AssignSiteCompletedEventHandler(object sender, AssignSiteCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AssignSiteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AssignSiteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void CheckInCompletedEventHandler(object sender, CheckInCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class CheckInCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal CheckInCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void AddSecretCustomAuditCompletedEventHandler(object sender, AddSecretCustomAuditCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AddSecretCustomAuditCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AddSecretCustomAuditCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void UpdateSecretPermissionCompletedEventHandler(object sender, UpdateSecretPermissionCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UpdateSecretPermissionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal UpdateSecretPermissionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void CheckInByKeyCompletedEventHandler(object sender, CheckInByKeyCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class CheckInByKeyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal CheckInByKeyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void WhoAmICompletedEventHandler(object sender, WhoAmICompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class WhoAmICompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal WhoAmICompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public UserInfoResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((UserInfoResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetAllGroupsCompletedEventHandler(object sender, GetAllGroupsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetAllGroupsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetAllGroupsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetAllGroupsResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetAllGroupsResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void AssignUserToGroupCompletedEventHandler(object sender, AssignUserToGroupCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AssignUserToGroupCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AssignUserToGroupCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetSSHLoginCredentialsCompletedEventHandler(object sender, GetSSHLoginCredentialsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSSHLoginCredentialsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetSSHLoginCredentialsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SSHCredentialsResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SSHCredentialsResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetSSHLoginCredentialsWithMachineCompletedEventHandler(object sender, GetSSHLoginCredentialsWithMachineCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSSHLoginCredentialsWithMachineCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetSSHLoginCredentialsWithMachineCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SSHCredentialsResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SSHCredentialsResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void SearchUsersCompletedEventHandler(object sender, SearchUsersCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SearchUsersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal SearchUsersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetUsersResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetUsersResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetUserCompletedEventHandler(object sender, GetUserCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetUserCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetUserCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetUserResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetUserResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void UpdateUserCompletedEventHandler(object sender, UpdateUserCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UpdateUserCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal UpdateUserCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public UpdateUserResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((UpdateUserResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetSecretItemHistoryByFieldNameCompletedEventHandler(object sender, GetSecretItemHistoryByFieldNameCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSecretItemHistoryByFieldNameCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetSecretItemHistoryByFieldNameCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SecretItemHistoryResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SecretItemHistoryResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetSecretPolicyForSecretCompletedEventHandler(object sender, GetSecretPolicyForSecretCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSecretPolicyForSecretCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetSecretPolicyForSecretCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SecretPolicyForSecretResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SecretPolicyForSecretResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void AssignSecretPolicyForSecretCompletedEventHandler(object sender, AssignSecretPolicyForSecretCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AssignSecretPolicyForSecretCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AssignSecretPolicyForSecretCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SecretPolicyForSecretResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SecretPolicyForSecretResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void SearchSecretPoliciesCompletedEventHandler(object sender, SearchSecretPoliciesCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SearchSecretPoliciesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal SearchSecretPoliciesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SearchSecretPoliciesResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SearchSecretPoliciesResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void RunActiveDirectorySynchronizationCompletedEventHandler(object sender, RunActiveDirectorySynchronizationCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class RunActiveDirectorySynchronizationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal RunActiveDirectorySynchronizationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void AddGroupToActiveDirectorySynchronizationCompletedEventHandler(object sender, AddGroupToActiveDirectorySynchronizationCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AddGroupToActiveDirectorySynchronizationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AddGroupToActiveDirectorySynchronizationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void AddSecretPolicyCompletedEventHandler(object sender, AddSecretPolicyCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AddSecretPolicyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AddSecretPolicyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SecretPolicyResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SecretPolicyResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetNewSecretPolicyCompletedEventHandler(object sender, GetNewSecretPolicyCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetNewSecretPolicyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetNewSecretPolicyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SecretPolicyResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SecretPolicyResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetSSHCommandMenuCompletedEventHandler(object sender, GetSSHCommandMenuCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSSHCommandMenuCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetSSHCommandMenuCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetSshCommandMenuResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetSshCommandMenuResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void SaveSSHCommandMenuCompletedEventHandler(object sender, SaveSSHCommandMenuCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SaveSSHCommandMenuCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal SaveSSHCommandMenuCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetSshCommandMenuResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetSshCommandMenuResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetAllSSHCommandMenusCompletedEventHandler(object sender, GetAllSSHCommandMenusCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetAllSSHCommandMenusCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetAllSSHCommandMenusCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetSshCommandMenusResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetSshCommandMenusResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void DeleteSSHCommandMenuCompletedEventHandler(object sender, DeleteSSHCommandMenuCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DeleteSSHCommandMenuCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal DeleteSSHCommandMenuCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void RestoreSSHCommandMenuCompletedEventHandler(object sender, RestoreSSHCommandMenuCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class RestoreSSHCommandMenuCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal RestoreSSHCommandMenuCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetReportCompletedEventHandler(object sender, GetReportCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetReportCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetReportCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetReportResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetReportResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void AddScriptCompletedEventHandler(object sender, AddScriptCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AddScriptCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AddScriptCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetAllScriptsCompletedEventHandler(object sender, GetAllScriptsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetAllScriptsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetAllScriptsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetUserScriptsResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetUserScriptsResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetScriptCompletedEventHandler(object sender, GetScriptCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetScriptCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetScriptCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetUserScriptResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetUserScriptResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void UpdateScriptCompletedEventHandler(object sender, UpdateScriptCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UpdateScriptCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal UpdateScriptCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public UpdateUserScriptResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((UpdateUserScriptResult)(this.results[0])); + } + } + } +} + +#pragma warning restore 1591 \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/Reference.map b/SecretServerInterface/Web References/SSWebService/Reference.map new file mode 100644 index 00000000..a1de00dc --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/Reference.map @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/RequestApprovalResult1.datasource b/SecretServerInterface/Web References/SSWebService/RequestApprovalResult1.datasource new file mode 100644 index 00000000..b6f56e3a --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/RequestApprovalResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.RequestApprovalResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/SSHCredentialsResult1.datasource b/SecretServerInterface/Web References/SSWebService/SSHCredentialsResult1.datasource new file mode 100644 index 00000000..a941e949 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/SSHCredentialsResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.SSHCredentialsResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/SSWebService.disco b/SecretServerInterface/Web References/SSWebService/SSWebService.disco new file mode 100644 index 00000000..8fbba74f --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/SSWebService.disco @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/SSWebService.wsdl b/SecretServerInterface/Web References/SSWebService/SSWebService.wsdl new file mode 100644 index 00000000..cdcebf84 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/SSWebService.wsdl @@ -0,0 +1,7624 @@ + + + Webservice for standard integration. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Webservice for standard integration. + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/SearchFolderResult1.datasource b/SecretServerInterface/Web References/SSWebService/SearchFolderResult1.datasource new file mode 100644 index 00000000..88353a76 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/SearchFolderResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.SearchFolderResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/SearchSecretPoliciesResult1.datasource b/SecretServerInterface/Web References/SSWebService/SearchSecretPoliciesResult1.datasource new file mode 100644 index 00000000..ac8ee502 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/SearchSecretPoliciesResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.SearchSecretPoliciesResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/SearchSecretsResult1.datasource b/SecretServerInterface/Web References/SSWebService/SearchSecretsResult1.datasource new file mode 100644 index 00000000..b135e646 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/SearchSecretsResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.SearchSecretsResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/SecretItemHistoryResult1.datasource b/SecretServerInterface/Web References/SSWebService/SecretItemHistoryResult1.datasource new file mode 100644 index 00000000..d158f871 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/SecretItemHistoryResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.SecretItemHistoryResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/SecretPolicyForSecretResult1.datasource b/SecretServerInterface/Web References/SSWebService/SecretPolicyForSecretResult1.datasource new file mode 100644 index 00000000..05e7a6a6 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/SecretPolicyForSecretResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.SecretPolicyForSecretResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/SecretPolicyResult1.datasource b/SecretServerInterface/Web References/SSWebService/SecretPolicyResult1.datasource new file mode 100644 index 00000000..b8cd5f0f --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/SecretPolicyResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.SecretPolicyResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/TokenIsValidResult1.datasource b/SecretServerInterface/Web References/SSWebService/TokenIsValidResult1.datasource new file mode 100644 index 00000000..1f9946ed --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/TokenIsValidResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.TokenIsValidResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/UpdateUserResult1.datasource b/SecretServerInterface/Web References/SSWebService/UpdateUserResult1.datasource new file mode 100644 index 00000000..71295429 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/UpdateUserResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.UpdateUserResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/UpdateUserScriptResult1.datasource b/SecretServerInterface/Web References/SSWebService/UpdateUserScriptResult1.datasource new file mode 100644 index 00000000..ae2d474f --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/UpdateUserScriptResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.UpdateUserScriptResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/UserInfoResult1.datasource b/SecretServerInterface/Web References/SSWebService/UserInfoResult1.datasource new file mode 100644 index 00000000..14076ec5 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/UserInfoResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.UserInfoResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/VersionGetResult1.datasource b/SecretServerInterface/Web References/SSWebService/VersionGetResult1.datasource new file mode 100644 index 00000000..234898b3 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/VersionGetResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.VersionGetResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebService/WebServiceResult1.datasource b/SecretServerInterface/Web References/SSWebService/WebServiceResult1.datasource new file mode 100644 index 00000000..181fe764 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebService/WebServiceResult1.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebService.WebServiceResult, Web References.SSWebService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/AddSecretResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/AddSecretResult.datasource new file mode 100644 index 00000000..7add6727 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/AddSecretResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.AddSecretResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/CreateFolderResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/CreateFolderResult.datasource new file mode 100644 index 00000000..6dfb12e6 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/CreateFolderResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.CreateFolderResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/FileDownloadResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/FileDownloadResult.datasource new file mode 100644 index 00000000..f0be88ff --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/FileDownloadResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.FileDownloadResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/FolderExtendedCreateResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/FolderExtendedCreateResult.datasource new file mode 100644 index 00000000..8887b5cc --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/FolderExtendedCreateResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.FolderExtendedCreateResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/FolderExtendedGetNewResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/FolderExtendedGetNewResult.datasource new file mode 100644 index 00000000..afcf3154 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/FolderExtendedGetNewResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.FolderExtendedGetNewResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/FolderExtendedGetResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/FolderExtendedGetResult.datasource new file mode 100644 index 00000000..14c22bc2 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/FolderExtendedGetResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.FolderExtendedGetResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/FolderExtendedUpdateResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/FolderExtendedUpdateResult.datasource new file mode 100644 index 00000000..4269dd56 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/FolderExtendedUpdateResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.FolderExtendedUpdateResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/GeneratePasswordResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/GeneratePasswordResult.datasource new file mode 100644 index 00000000..63a94831 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/GeneratePasswordResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.GeneratePasswordResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/GetAllGroupsResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetAllGroupsResult.datasource new file mode 100644 index 00000000..ae384787 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetAllGroupsResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.GetAllGroupsResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/GetCheckOutStatusResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetCheckOutStatusResult.datasource new file mode 100644 index 00000000..9ad96f05 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetCheckOutStatusResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.GetCheckOutStatusResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/GetDependenciesResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetDependenciesResult.datasource new file mode 100644 index 00000000..a538a8aa --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetDependenciesResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.GetDependenciesResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/GetDependencyGroupsResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetDependencyGroupsResult.datasource new file mode 100644 index 00000000..511f1cc6 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetDependencyGroupsResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.GetDependencyGroupsResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/GetFavoritesResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetFavoritesResult.datasource new file mode 100644 index 00000000..8de37c3a --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetFavoritesResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.GetFavoritesResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/GetFolderResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetFolderResult.datasource new file mode 100644 index 00000000..a79b19aa --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetFolderResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.GetFolderResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/GetFoldersResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetFoldersResult.datasource new file mode 100644 index 00000000..5eda15c2 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetFoldersResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.GetFoldersResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/GetReportResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetReportResult.datasource new file mode 100644 index 00000000..13ca4aea --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetReportResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.GetReportResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/GetSecretAuditResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetSecretAuditResult.datasource new file mode 100644 index 00000000..72593ee8 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetSecretAuditResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.GetSecretAuditResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/GetSecretResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetSecretResult.datasource new file mode 100644 index 00000000..5bb8378d --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetSecretResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.GetSecretResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/GetSecretTemplateFieldsResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetSecretTemplateFieldsResult.datasource new file mode 100644 index 00000000..aa3dccea --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetSecretTemplateFieldsResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.GetSecretTemplateFieldsResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/GetSecretTemplatesResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetSecretTemplatesResult.datasource new file mode 100644 index 00000000..b8e1e6e9 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetSecretTemplatesResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.GetSecretTemplatesResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/GetSecretsByFieldValueResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetSecretsByFieldValueResult.datasource new file mode 100644 index 00000000..797fe7c4 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetSecretsByFieldValueResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.GetSecretsByFieldValueResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/GetSitesResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetSitesResult.datasource new file mode 100644 index 00000000..adab4b08 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetSitesResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.GetSitesResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/GetSshCommandMenuResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetSshCommandMenuResult.datasource new file mode 100644 index 00000000..56d1dacd --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetSshCommandMenuResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.GetSshCommandMenuResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/GetSshCommandMenusResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetSshCommandMenusResult.datasource new file mode 100644 index 00000000..f45fe95e --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetSshCommandMenusResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.GetSshCommandMenusResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/GetTicketSystemsResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetTicketSystemsResult.datasource new file mode 100644 index 00000000..47f5e530 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetTicketSystemsResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.GetTicketSystemsResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/GetUserResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetUserResult.datasource new file mode 100644 index 00000000..b92f8456 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetUserResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.GetUserResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/GetUserScriptResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetUserScriptResult.datasource new file mode 100644 index 00000000..51a27923 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetUserScriptResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.GetUserScriptResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/GetUserScriptsResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetUserScriptsResult.datasource new file mode 100644 index 00000000..76f9980e --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetUserScriptsResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.GetUserScriptsResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/GetUsersResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetUsersResult.datasource new file mode 100644 index 00000000..a0a06360 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/GetUsersResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.GetUsersResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/Reference.cs b/SecretServerInterface/Web References/SSWebServiceWinAuth/Reference.cs new file mode 100644 index 00000000..1e4c81f0 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/Reference.cs @@ -0,0 +1,11529 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +// +// This source code was auto-generated by Microsoft.VSDesigner, Version 4.0.30319.42000. +// +#pragma warning disable 1591 + +namespace SecretServerInterface.SSWebServiceWinAuth { + using System; + using System.Web.Services; + using System.Diagnostics; + using System.Web.Services.Protocols; + using System.Xml.Serialization; + using System.ComponentModel; + using System.Data; + + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Web.Services.WebServiceBindingAttribute(Name="SSWinAuthWebServiceSoap", Namespace="urn:thesecretserver.com")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AuditAsOfSiteLog))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FolderExtendedResultBase))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TrackChanges))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GenericResult))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SqlScriptArgument2[]))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UserScript[]))] + public partial class SSWinAuthWebService : System.Web.Services.Protocols.SoapHttpClientProtocol { + + private System.Threading.SendOrPostCallback ApproveSecretAccessRequestOperationCompleted; + + private System.Threading.SendOrPostCallback DenySecretAccessRequestOperationCompleted; + + private System.Threading.SendOrPostCallback AddUserOperationCompleted; + + private System.Threading.SendOrPostCallback FolderCreateOperationCompleted; + + private System.Threading.SendOrPostCallback FolderExtendedCreateOperationCompleted; + + private System.Threading.SendOrPostCallback FolderExtendedGetOperationCompleted; + + private System.Threading.SendOrPostCallback FolderExtendedUpdateOperationCompleted; + + private System.Threading.SendOrPostCallback FolderExtendedGetNewOperationCompleted; + + private System.Threading.SendOrPostCallback GetSecretLegacyOperationCompleted; + + private System.Threading.SendOrPostCallback GetSecretOperationCompleted; + + private System.Threading.SendOrPostCallback GetSecretsByFieldValueOperationCompleted; + + private System.Threading.SendOrPostCallback SearchSecretsByFieldValueOperationCompleted; + + private System.Threading.SendOrPostCallback GetSecretsByExposedFieldValueOperationCompleted; + + private System.Threading.SendOrPostCallback SearchSecretsByExposedFieldValueOperationCompleted; + + private System.Threading.SendOrPostCallback SearchSecretsByExposedValuesOperationCompleted; + + private System.Threading.SendOrPostCallback SearchSecretsOperationCompleted; + + private System.Threading.SendOrPostCallback SearchSecretsLegacyOperationCompleted; + + private System.Threading.SendOrPostCallback SearchSecretsByFolderOperationCompleted; + + private System.Threading.SendOrPostCallback SearchSecretsByFolderLegacyOperationCompleted; + + private System.Threading.SendOrPostCallback ExpireSecretOperationCompleted; + + private System.Threading.SendOrPostCallback GetFavoritesOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateIsFavoriteOperationCompleted; + + private System.Threading.SendOrPostCallback CheckInOperationCompleted; + + private System.Threading.SendOrPostCallback AddSecretOperationCompleted; + + private System.Threading.SendOrPostCallback AddNewSecretOperationCompleted; + + private System.Threading.SendOrPostCallback GetNewSecretOperationCompleted; + + private System.Threading.SendOrPostCallback GetSecretTemplateFieldsOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateSecretOperationCompleted; + + private System.Threading.SendOrPostCallback GetSecretTemplatesOperationCompleted; + + private System.Threading.SendOrPostCallback GeneratePasswordOperationCompleted; + + private System.Threading.SendOrPostCallback DeactivateSecretOperationCompleted; + + private System.Threading.SendOrPostCallback VersionGetOperationCompleted; + + private System.Threading.SendOrPostCallback GetCheckOutStatusOperationCompleted; + + private System.Threading.SendOrPostCallback GetSecretAuditOperationCompleted; + + private System.Threading.SendOrPostCallback FolderGetOperationCompleted; + + private System.Threading.SendOrPostCallback FolderUpdateOperationCompleted; + + private System.Threading.SendOrPostCallback FolderGetAllChildrenOperationCompleted; + + private System.Threading.SendOrPostCallback SearchFoldersOperationCompleted; + + private System.Threading.SendOrPostCallback RemoveDependencyOperationCompleted; + + private System.Threading.SendOrPostCallback GetDependenciesOperationCompleted; + + private System.Threading.SendOrPostCallback AddDependencyOperationCompleted; + + private System.Threading.SendOrPostCallback CreateDependencyGroupForSecretOperationCompleted; + + private System.Threading.SendOrPostCallback GetDependencyGroupsForSecretOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateDependencyGroupForSecretOperationCompleted; + + private System.Threading.SendOrPostCallback RemoveDependencyGroupForSecretOperationCompleted; + + private System.Threading.SendOrPostCallback DownloadFileAttachmentOperationCompleted; + + private System.Threading.SendOrPostCallback DownloadFileAttachmentByItemIdOperationCompleted; + + private System.Threading.SendOrPostCallback UploadFileAttachmentOperationCompleted; + + private System.Threading.SendOrPostCallback UploadFileAttachmentByItemIdOperationCompleted; + + private System.Threading.SendOrPostCallback ImportXMLOperationCompleted; + + private System.Threading.SendOrPostCallback SetCheckOutEnabledOperationCompleted; + + private System.Threading.SendOrPostCallback GetDistributedEnginesOperationCompleted; + + private System.Threading.SendOrPostCallback GetTicketSystemsOperationCompleted; + + private System.Threading.SendOrPostCallback AssignSiteOperationCompleted; + + private System.Threading.SendOrPostCallback AddSecretCustomAuditOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateSecretPermissionOperationCompleted; + + private System.Threading.SendOrPostCallback CheckInByKeyOperationCompleted; + + private System.Threading.SendOrPostCallback WhoAmIOperationCompleted; + + private System.Threading.SendOrPostCallback GetAllGroupsOperationCompleted; + + private System.Threading.SendOrPostCallback AssignUserToGroupOperationCompleted; + + private System.Threading.SendOrPostCallback GetSSHLoginCredentialsOperationCompleted; + + private System.Threading.SendOrPostCallback GetSSHLoginCredentialsWithMachineOperationCompleted; + + private System.Threading.SendOrPostCallback SearchUsersOperationCompleted; + + private System.Threading.SendOrPostCallback GetUserOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateUserOperationCompleted; + + private System.Threading.SendOrPostCallback GetSecretItemHistoryByFieldNameOperationCompleted; + + private System.Threading.SendOrPostCallback GetSecretPolicyForSecretOperationCompleted; + + private System.Threading.SendOrPostCallback AssignSecretPolicyForSecretOperationCompleted; + + private System.Threading.SendOrPostCallback SearchSecretPoliciesOperationCompleted; + + private System.Threading.SendOrPostCallback RunActiveDirectorySynchronizationOperationCompleted; + + private System.Threading.SendOrPostCallback AddGroupToActiveDirectorySynchronizationOperationCompleted; + + private System.Threading.SendOrPostCallback AddSecretPolicyOperationCompleted; + + private System.Threading.SendOrPostCallback GetNewSecretPolicyOperationCompleted; + + private System.Threading.SendOrPostCallback GetSSHCommandMenuOperationCompleted; + + private System.Threading.SendOrPostCallback SaveSSHCommandMenuOperationCompleted; + + private System.Threading.SendOrPostCallback GetAllSSHCommandMenusOperationCompleted; + + private System.Threading.SendOrPostCallback DeleteSSHCommandMenuOperationCompleted; + + private System.Threading.SendOrPostCallback RestoreSSHCommandMenuOperationCompleted; + + private System.Threading.SendOrPostCallback ValidateTwoFactorOperationCompleted; + + private System.Threading.SendOrPostCallback GetReportOperationCompleted; + + private System.Threading.SendOrPostCallback AddScriptOperationCompleted; + + private System.Threading.SendOrPostCallback GetAllScriptsOperationCompleted; + + private System.Threading.SendOrPostCallback GetScriptOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateScriptOperationCompleted; + + private bool useDefaultCredentialsSetExplicitly; + + /// + public SSWinAuthWebService() { + this.Url = global::SecretServerInterface.Properties.Settings.Default.SecretServerInterface_SSWinAuthWebService; + 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; + } + } + + /// + public event ApproveSecretAccessRequestCompletedEventHandler ApproveSecretAccessRequestCompleted; + + /// + public event DenySecretAccessRequestCompletedEventHandler DenySecretAccessRequestCompleted; + + /// + public event AddUserCompletedEventHandler AddUserCompleted; + + /// + public event FolderCreateCompletedEventHandler FolderCreateCompleted; + + /// + public event FolderExtendedCreateCompletedEventHandler FolderExtendedCreateCompleted; + + /// + public event FolderExtendedGetCompletedEventHandler FolderExtendedGetCompleted; + + /// + public event FolderExtendedUpdateCompletedEventHandler FolderExtendedUpdateCompleted; + + /// + public event FolderExtendedGetNewCompletedEventHandler FolderExtendedGetNewCompleted; + + /// + public event GetSecretLegacyCompletedEventHandler GetSecretLegacyCompleted; + + /// + public event GetSecretCompletedEventHandler GetSecretCompleted; + + /// + public event GetSecretsByFieldValueCompletedEventHandler GetSecretsByFieldValueCompleted; + + /// + public event SearchSecretsByFieldValueCompletedEventHandler SearchSecretsByFieldValueCompleted; + + /// + public event GetSecretsByExposedFieldValueCompletedEventHandler GetSecretsByExposedFieldValueCompleted; + + /// + public event SearchSecretsByExposedFieldValueCompletedEventHandler SearchSecretsByExposedFieldValueCompleted; + + /// + public event SearchSecretsByExposedValuesCompletedEventHandler SearchSecretsByExposedValuesCompleted; + + /// + public event SearchSecretsCompletedEventHandler SearchSecretsCompleted; + + /// + public event SearchSecretsLegacyCompletedEventHandler SearchSecretsLegacyCompleted; + + /// + public event SearchSecretsByFolderCompletedEventHandler SearchSecretsByFolderCompleted; + + /// + public event SearchSecretsByFolderLegacyCompletedEventHandler SearchSecretsByFolderLegacyCompleted; + + /// + public event ExpireSecretCompletedEventHandler ExpireSecretCompleted; + + /// + public event GetFavoritesCompletedEventHandler GetFavoritesCompleted; + + /// + public event UpdateIsFavoriteCompletedEventHandler UpdateIsFavoriteCompleted; + + /// + public event CheckInCompletedEventHandler CheckInCompleted; + + /// + public event AddSecretCompletedEventHandler AddSecretCompleted; + + /// + public event AddNewSecretCompletedEventHandler AddNewSecretCompleted; + + /// + public event GetNewSecretCompletedEventHandler GetNewSecretCompleted; + + /// + public event GetSecretTemplateFieldsCompletedEventHandler GetSecretTemplateFieldsCompleted; + + /// + public event UpdateSecretCompletedEventHandler UpdateSecretCompleted; + + /// + public event GetSecretTemplatesCompletedEventHandler GetSecretTemplatesCompleted; + + /// + public event GeneratePasswordCompletedEventHandler GeneratePasswordCompleted; + + /// + public event DeactivateSecretCompletedEventHandler DeactivateSecretCompleted; + + /// + public event VersionGetCompletedEventHandler VersionGetCompleted; + + /// + public event GetCheckOutStatusCompletedEventHandler GetCheckOutStatusCompleted; + + /// + public event GetSecretAuditCompletedEventHandler GetSecretAuditCompleted; + + /// + public event FolderGetCompletedEventHandler FolderGetCompleted; + + /// + public event FolderUpdateCompletedEventHandler FolderUpdateCompleted; + + /// + public event FolderGetAllChildrenCompletedEventHandler FolderGetAllChildrenCompleted; + + /// + public event SearchFoldersCompletedEventHandler SearchFoldersCompleted; + + /// + public event RemoveDependencyCompletedEventHandler RemoveDependencyCompleted; + + /// + public event GetDependenciesCompletedEventHandler GetDependenciesCompleted; + + /// + public event AddDependencyCompletedEventHandler AddDependencyCompleted; + + /// + public event CreateDependencyGroupForSecretCompletedEventHandler CreateDependencyGroupForSecretCompleted; + + /// + public event GetDependencyGroupsForSecretCompletedEventHandler GetDependencyGroupsForSecretCompleted; + + /// + public event UpdateDependencyGroupForSecretCompletedEventHandler UpdateDependencyGroupForSecretCompleted; + + /// + public event RemoveDependencyGroupForSecretCompletedEventHandler RemoveDependencyGroupForSecretCompleted; + + /// + public event DownloadFileAttachmentCompletedEventHandler DownloadFileAttachmentCompleted; + + /// + public event DownloadFileAttachmentByItemIdCompletedEventHandler DownloadFileAttachmentByItemIdCompleted; + + /// + public event UploadFileAttachmentCompletedEventHandler UploadFileAttachmentCompleted; + + /// + public event UploadFileAttachmentByItemIdCompletedEventHandler UploadFileAttachmentByItemIdCompleted; + + /// + public event ImportXMLCompletedEventHandler ImportXMLCompleted; + + /// + public event SetCheckOutEnabledCompletedEventHandler SetCheckOutEnabledCompleted; + + /// + public event GetDistributedEnginesCompletedEventHandler GetDistributedEnginesCompleted; + + /// + public event GetTicketSystemsCompletedEventHandler GetTicketSystemsCompleted; + + /// + public event AssignSiteCompletedEventHandler AssignSiteCompleted; + + /// + public event AddSecretCustomAuditCompletedEventHandler AddSecretCustomAuditCompleted; + + /// + public event UpdateSecretPermissionCompletedEventHandler UpdateSecretPermissionCompleted; + + /// + public event CheckInByKeyCompletedEventHandler CheckInByKeyCompleted; + + /// + public event WhoAmICompletedEventHandler WhoAmICompleted; + + /// + public event GetAllGroupsCompletedEventHandler GetAllGroupsCompleted; + + /// + public event AssignUserToGroupCompletedEventHandler AssignUserToGroupCompleted; + + /// + public event GetSSHLoginCredentialsCompletedEventHandler GetSSHLoginCredentialsCompleted; + + /// + public event GetSSHLoginCredentialsWithMachineCompletedEventHandler GetSSHLoginCredentialsWithMachineCompleted; + + /// + public event SearchUsersCompletedEventHandler SearchUsersCompleted; + + /// + public event GetUserCompletedEventHandler GetUserCompleted; + + /// + public event UpdateUserCompletedEventHandler UpdateUserCompleted; + + /// + public event GetSecretItemHistoryByFieldNameCompletedEventHandler GetSecretItemHistoryByFieldNameCompleted; + + /// + public event GetSecretPolicyForSecretCompletedEventHandler GetSecretPolicyForSecretCompleted; + + /// + public event AssignSecretPolicyForSecretCompletedEventHandler AssignSecretPolicyForSecretCompleted; + + /// + public event SearchSecretPoliciesCompletedEventHandler SearchSecretPoliciesCompleted; + + /// + public event RunActiveDirectorySynchronizationCompletedEventHandler RunActiveDirectorySynchronizationCompleted; + + /// + public event AddGroupToActiveDirectorySynchronizationCompletedEventHandler AddGroupToActiveDirectorySynchronizationCompleted; + + /// + public event AddSecretPolicyCompletedEventHandler AddSecretPolicyCompleted; + + /// + public event GetNewSecretPolicyCompletedEventHandler GetNewSecretPolicyCompleted; + + /// + public event GetSSHCommandMenuCompletedEventHandler GetSSHCommandMenuCompleted; + + /// + public event SaveSSHCommandMenuCompletedEventHandler SaveSSHCommandMenuCompleted; + + /// + public event GetAllSSHCommandMenusCompletedEventHandler GetAllSSHCommandMenusCompleted; + + /// + public event DeleteSSHCommandMenuCompletedEventHandler DeleteSSHCommandMenuCompleted; + + /// + public event RestoreSSHCommandMenuCompletedEventHandler RestoreSSHCommandMenuCompleted; + + /// + public event ValidateTwoFactorCompletedEventHandler ValidateTwoFactorCompleted; + + /// + public event GetReportCompletedEventHandler GetReportCompleted; + + /// + public event AddScriptCompletedEventHandler AddScriptCompleted; + + /// + public event GetAllScriptsCompletedEventHandler GetAllScriptsCompleted; + + /// + public event GetScriptCompletedEventHandler GetScriptCompleted; + + /// + public event UpdateScriptCompletedEventHandler UpdateScriptCompleted; + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/ApproveSecretAccessRequest", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public RequestApprovalResult ApproveSecretAccessRequest(string approvalId, string hours, bool userOverride) { + object[] results = this.Invoke("ApproveSecretAccessRequest", new object[] { + approvalId, + hours, + userOverride}); + return ((RequestApprovalResult)(results[0])); + } + + /// + public void ApproveSecretAccessRequestAsync(string approvalId, string hours, bool userOverride) { + this.ApproveSecretAccessRequestAsync(approvalId, hours, userOverride, null); + } + + /// + public void ApproveSecretAccessRequestAsync(string approvalId, string hours, bool userOverride, object userState) { + if ((this.ApproveSecretAccessRequestOperationCompleted == null)) { + this.ApproveSecretAccessRequestOperationCompleted = new System.Threading.SendOrPostCallback(this.OnApproveSecretAccessRequestOperationCompleted); + } + this.InvokeAsync("ApproveSecretAccessRequest", new object[] { + approvalId, + hours, + userOverride}, this.ApproveSecretAccessRequestOperationCompleted, userState); + } + + private void OnApproveSecretAccessRequestOperationCompleted(object arg) { + if ((this.ApproveSecretAccessRequestCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.ApproveSecretAccessRequestCompleted(this, new ApproveSecretAccessRequestCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/DenySecretAccessRequest", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public RequestApprovalResult DenySecretAccessRequest(string approvalId, bool userOverride) { + object[] results = this.Invoke("DenySecretAccessRequest", new object[] { + approvalId, + userOverride}); + return ((RequestApprovalResult)(results[0])); + } + + /// + public void DenySecretAccessRequestAsync(string approvalId, bool userOverride) { + this.DenySecretAccessRequestAsync(approvalId, userOverride, null); + } + + /// + public void DenySecretAccessRequestAsync(string approvalId, bool userOverride, object userState) { + if ((this.DenySecretAccessRequestOperationCompleted == null)) { + this.DenySecretAccessRequestOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDenySecretAccessRequestOperationCompleted); + } + this.InvokeAsync("DenySecretAccessRequest", new object[] { + approvalId, + userOverride}, this.DenySecretAccessRequestOperationCompleted, userState); + } + + private void OnDenySecretAccessRequestOperationCompleted(object arg) { + if ((this.DenySecretAccessRequestCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.DenySecretAccessRequestCompleted(this, new DenySecretAccessRequestCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/AddUser", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult AddUser(User newUser) { + object[] results = this.Invoke("AddUser", new object[] { + newUser}); + return ((WebServiceResult)(results[0])); + } + + /// + public void AddUserAsync(User newUser) { + this.AddUserAsync(newUser, null); + } + + /// + public void AddUserAsync(User newUser, object userState) { + if ((this.AddUserOperationCompleted == null)) { + this.AddUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddUserOperationCompleted); + } + this.InvokeAsync("AddUser", new object[] { + newUser}, this.AddUserOperationCompleted, userState); + } + + private void OnAddUserOperationCompleted(object arg) { + if ((this.AddUserCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AddUserCompleted(this, new AddUserCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/FolderCreate", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public CreateFolderResult FolderCreate(string folderName, int parentFolderId, int folderTypeId) { + object[] results = this.Invoke("FolderCreate", new object[] { + folderName, + parentFolderId, + folderTypeId}); + return ((CreateFolderResult)(results[0])); + } + + /// + public void FolderCreateAsync(string folderName, int parentFolderId, int folderTypeId) { + this.FolderCreateAsync(folderName, parentFolderId, folderTypeId, null); + } + + /// + public void FolderCreateAsync(string folderName, int parentFolderId, int folderTypeId, object userState) { + if ((this.FolderCreateOperationCompleted == null)) { + this.FolderCreateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFolderCreateOperationCompleted); + } + this.InvokeAsync("FolderCreate", new object[] { + folderName, + parentFolderId, + folderTypeId}, this.FolderCreateOperationCompleted, userState); + } + + private void OnFolderCreateOperationCompleted(object arg) { + if ((this.FolderCreateCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.FolderCreateCompleted(this, new FolderCreateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/FolderExtendedCreate", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public FolderExtendedCreateResult FolderExtendedCreate(FolderExtended folder) { + object[] results = this.Invoke("FolderExtendedCreate", new object[] { + folder}); + return ((FolderExtendedCreateResult)(results[0])); + } + + /// + public void FolderExtendedCreateAsync(FolderExtended folder) { + this.FolderExtendedCreateAsync(folder, null); + } + + /// + public void FolderExtendedCreateAsync(FolderExtended folder, object userState) { + if ((this.FolderExtendedCreateOperationCompleted == null)) { + this.FolderExtendedCreateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFolderExtendedCreateOperationCompleted); + } + this.InvokeAsync("FolderExtendedCreate", new object[] { + folder}, this.FolderExtendedCreateOperationCompleted, userState); + } + + private void OnFolderExtendedCreateOperationCompleted(object arg) { + if ((this.FolderExtendedCreateCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.FolderExtendedCreateCompleted(this, new FolderExtendedCreateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/FolderExtendedGet", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public FolderExtendedGetResult FolderExtendedGet(int folderId) { + object[] results = this.Invoke("FolderExtendedGet", new object[] { + folderId}); + return ((FolderExtendedGetResult)(results[0])); + } + + /// + public void FolderExtendedGetAsync(int folderId) { + this.FolderExtendedGetAsync(folderId, null); + } + + /// + public void FolderExtendedGetAsync(int folderId, object userState) { + if ((this.FolderExtendedGetOperationCompleted == null)) { + this.FolderExtendedGetOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFolderExtendedGetOperationCompleted); + } + this.InvokeAsync("FolderExtendedGet", new object[] { + folderId}, this.FolderExtendedGetOperationCompleted, userState); + } + + private void OnFolderExtendedGetOperationCompleted(object arg) { + if ((this.FolderExtendedGetCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.FolderExtendedGetCompleted(this, new FolderExtendedGetCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/FolderExtendedUpdate", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public FolderExtendedUpdateResult FolderExtendedUpdate(FolderExtended folder) { + object[] results = this.Invoke("FolderExtendedUpdate", new object[] { + folder}); + return ((FolderExtendedUpdateResult)(results[0])); + } + + /// + public void FolderExtendedUpdateAsync(FolderExtended folder) { + this.FolderExtendedUpdateAsync(folder, null); + } + + /// + public void FolderExtendedUpdateAsync(FolderExtended folder, object userState) { + if ((this.FolderExtendedUpdateOperationCompleted == null)) { + this.FolderExtendedUpdateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFolderExtendedUpdateOperationCompleted); + } + this.InvokeAsync("FolderExtendedUpdate", new object[] { + folder}, this.FolderExtendedUpdateOperationCompleted, userState); + } + + private void OnFolderExtendedUpdateOperationCompleted(object arg) { + if ((this.FolderExtendedUpdateCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.FolderExtendedUpdateCompleted(this, new FolderExtendedUpdateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/FolderExtendedGetNew", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public FolderExtendedGetNewResult FolderExtendedGetNew(FolderExtendedGetNewRequest folderExtendedGetNewRequest) { + object[] results = this.Invoke("FolderExtendedGetNew", new object[] { + folderExtendedGetNewRequest}); + return ((FolderExtendedGetNewResult)(results[0])); + } + + /// + public void FolderExtendedGetNewAsync(FolderExtendedGetNewRequest folderExtendedGetNewRequest) { + this.FolderExtendedGetNewAsync(folderExtendedGetNewRequest, null); + } + + /// + public void FolderExtendedGetNewAsync(FolderExtendedGetNewRequest folderExtendedGetNewRequest, object userState) { + if ((this.FolderExtendedGetNewOperationCompleted == null)) { + this.FolderExtendedGetNewOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFolderExtendedGetNewOperationCompleted); + } + this.InvokeAsync("FolderExtendedGetNew", new object[] { + folderExtendedGetNewRequest}, this.FolderExtendedGetNewOperationCompleted, userState); + } + + private void OnFolderExtendedGetNewOperationCompleted(object arg) { + if ((this.FolderExtendedGetNewCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.FolderExtendedGetNewCompleted(this, new FolderExtendedGetNewCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetSecretLegacy", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetSecretResult GetSecretLegacy(int secretId) { + object[] results = this.Invoke("GetSecretLegacy", new object[] { + secretId}); + return ((GetSecretResult)(results[0])); + } + + /// + public void GetSecretLegacyAsync(int secretId) { + this.GetSecretLegacyAsync(secretId, null); + } + + /// + public void GetSecretLegacyAsync(int secretId, object userState) { + if ((this.GetSecretLegacyOperationCompleted == null)) { + this.GetSecretLegacyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSecretLegacyOperationCompleted); + } + this.InvokeAsync("GetSecretLegacy", new object[] { + secretId}, this.GetSecretLegacyOperationCompleted, userState); + } + + private void OnGetSecretLegacyOperationCompleted(object arg) { + if ((this.GetSecretLegacyCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetSecretLegacyCompleted(this, new GetSecretLegacyCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetSecret", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetSecretResult GetSecret(int secretId, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] System.Nullable loadSettingsAndPermissions, CodeResponse[] codeResponses) { + object[] results = this.Invoke("GetSecret", new object[] { + secretId, + loadSettingsAndPermissions, + codeResponses}); + return ((GetSecretResult)(results[0])); + } + + /// + public void GetSecretAsync(int secretId, System.Nullable loadSettingsAndPermissions, CodeResponse[] codeResponses) { + this.GetSecretAsync(secretId, loadSettingsAndPermissions, codeResponses, null); + } + + /// + public void GetSecretAsync(int secretId, System.Nullable loadSettingsAndPermissions, CodeResponse[] codeResponses, object userState) { + if ((this.GetSecretOperationCompleted == null)) { + this.GetSecretOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSecretOperationCompleted); + } + this.InvokeAsync("GetSecret", new object[] { + secretId, + loadSettingsAndPermissions, + codeResponses}, this.GetSecretOperationCompleted, userState); + } + + private void OnGetSecretOperationCompleted(object arg) { + if ((this.GetSecretCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetSecretCompleted(this, new GetSecretCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetSecretsByFieldValue", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetSecretsByFieldValueResult GetSecretsByFieldValue(string fieldName, string searchTerm, bool showDeleted) { + object[] results = this.Invoke("GetSecretsByFieldValue", new object[] { + fieldName, + searchTerm, + showDeleted}); + return ((GetSecretsByFieldValueResult)(results[0])); + } + + /// + public void GetSecretsByFieldValueAsync(string fieldName, string searchTerm, bool showDeleted) { + this.GetSecretsByFieldValueAsync(fieldName, searchTerm, showDeleted, null); + } + + /// + public void GetSecretsByFieldValueAsync(string fieldName, string searchTerm, bool showDeleted, object userState) { + if ((this.GetSecretsByFieldValueOperationCompleted == null)) { + this.GetSecretsByFieldValueOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSecretsByFieldValueOperationCompleted); + } + this.InvokeAsync("GetSecretsByFieldValue", new object[] { + fieldName, + searchTerm, + showDeleted}, this.GetSecretsByFieldValueOperationCompleted, userState); + } + + private void OnGetSecretsByFieldValueOperationCompleted(object arg) { + if ((this.GetSecretsByFieldValueCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetSecretsByFieldValueCompleted(this, new GetSecretsByFieldValueCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/SearchSecretsByFieldValue", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SearchSecretsResult SearchSecretsByFieldValue(string fieldName, string searchTerm, bool showDeleted, bool showRestricted) { + object[] results = this.Invoke("SearchSecretsByFieldValue", new object[] { + fieldName, + searchTerm, + showDeleted, + showRestricted}); + return ((SearchSecretsResult)(results[0])); + } + + /// + public void SearchSecretsByFieldValueAsync(string fieldName, string searchTerm, bool showDeleted, bool showRestricted) { + this.SearchSecretsByFieldValueAsync(fieldName, searchTerm, showDeleted, showRestricted, null); + } + + /// + public void SearchSecretsByFieldValueAsync(string fieldName, string searchTerm, bool showDeleted, bool showRestricted, object userState) { + if ((this.SearchSecretsByFieldValueOperationCompleted == null)) { + this.SearchSecretsByFieldValueOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSearchSecretsByFieldValueOperationCompleted); + } + this.InvokeAsync("SearchSecretsByFieldValue", new object[] { + fieldName, + searchTerm, + showDeleted, + showRestricted}, this.SearchSecretsByFieldValueOperationCompleted, userState); + } + + private void OnSearchSecretsByFieldValueOperationCompleted(object arg) { + if ((this.SearchSecretsByFieldValueCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.SearchSecretsByFieldValueCompleted(this, new SearchSecretsByFieldValueCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetSecretsByExposedFieldValue", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetSecretsByFieldValueResult GetSecretsByExposedFieldValue(string fieldName, string searchTerm, bool showDeleted, bool showPartialMatches) { + object[] results = this.Invoke("GetSecretsByExposedFieldValue", new object[] { + fieldName, + searchTerm, + showDeleted, + showPartialMatches}); + return ((GetSecretsByFieldValueResult)(results[0])); + } + + /// + public void GetSecretsByExposedFieldValueAsync(string fieldName, string searchTerm, bool showDeleted, bool showPartialMatches) { + this.GetSecretsByExposedFieldValueAsync(fieldName, searchTerm, showDeleted, showPartialMatches, null); + } + + /// + public void GetSecretsByExposedFieldValueAsync(string fieldName, string searchTerm, bool showDeleted, bool showPartialMatches, object userState) { + if ((this.GetSecretsByExposedFieldValueOperationCompleted == null)) { + this.GetSecretsByExposedFieldValueOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSecretsByExposedFieldValueOperationCompleted); + } + this.InvokeAsync("GetSecretsByExposedFieldValue", new object[] { + fieldName, + searchTerm, + showDeleted, + showPartialMatches}, this.GetSecretsByExposedFieldValueOperationCompleted, userState); + } + + private void OnGetSecretsByExposedFieldValueOperationCompleted(object arg) { + if ((this.GetSecretsByExposedFieldValueCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetSecretsByExposedFieldValueCompleted(this, new GetSecretsByExposedFieldValueCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/SearchSecretsByExposedFieldValue", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SearchSecretsResult SearchSecretsByExposedFieldValue(string fieldName, string searchTerm, bool showDeleted, bool showRestricted, bool showPartialMatches) { + object[] results = this.Invoke("SearchSecretsByExposedFieldValue", new object[] { + fieldName, + searchTerm, + showDeleted, + showRestricted, + showPartialMatches}); + return ((SearchSecretsResult)(results[0])); + } + + /// + public void SearchSecretsByExposedFieldValueAsync(string fieldName, string searchTerm, bool showDeleted, bool showRestricted, bool showPartialMatches) { + this.SearchSecretsByExposedFieldValueAsync(fieldName, searchTerm, showDeleted, showRestricted, showPartialMatches, null); + } + + /// + public void SearchSecretsByExposedFieldValueAsync(string fieldName, string searchTerm, bool showDeleted, bool showRestricted, bool showPartialMatches, object userState) { + if ((this.SearchSecretsByExposedFieldValueOperationCompleted == null)) { + this.SearchSecretsByExposedFieldValueOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSearchSecretsByExposedFieldValueOperationCompleted); + } + this.InvokeAsync("SearchSecretsByExposedFieldValue", new object[] { + fieldName, + searchTerm, + showDeleted, + showRestricted, + showPartialMatches}, this.SearchSecretsByExposedFieldValueOperationCompleted, userState); + } + + private void OnSearchSecretsByExposedFieldValueOperationCompleted(object arg) { + if ((this.SearchSecretsByExposedFieldValueCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.SearchSecretsByExposedFieldValueCompleted(this, new SearchSecretsByExposedFieldValueCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/SearchSecretsByExposedValues", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SearchSecretsResult SearchSecretsByExposedValues(string searchTerm, bool showDeleted, bool showRestricted, bool showPartialMatches) { + object[] results = this.Invoke("SearchSecretsByExposedValues", new object[] { + searchTerm, + showDeleted, + showRestricted, + showPartialMatches}); + return ((SearchSecretsResult)(results[0])); + } + + /// + public void SearchSecretsByExposedValuesAsync(string searchTerm, bool showDeleted, bool showRestricted, bool showPartialMatches) { + this.SearchSecretsByExposedValuesAsync(searchTerm, showDeleted, showRestricted, showPartialMatches, null); + } + + /// + public void SearchSecretsByExposedValuesAsync(string searchTerm, bool showDeleted, bool showRestricted, bool showPartialMatches, object userState) { + if ((this.SearchSecretsByExposedValuesOperationCompleted == null)) { + this.SearchSecretsByExposedValuesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSearchSecretsByExposedValuesOperationCompleted); + } + this.InvokeAsync("SearchSecretsByExposedValues", new object[] { + searchTerm, + showDeleted, + showRestricted, + showPartialMatches}, this.SearchSecretsByExposedValuesOperationCompleted, userState); + } + + private void OnSearchSecretsByExposedValuesOperationCompleted(object arg) { + if ((this.SearchSecretsByExposedValuesCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.SearchSecretsByExposedValuesCompleted(this, new SearchSecretsByExposedValuesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/SearchSecrets", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SearchSecretsResult SearchSecrets(string searchTerm, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] System.Nullable includeDeleted, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] System.Nullable includeRestricted) { + object[] results = this.Invoke("SearchSecrets", new object[] { + searchTerm, + includeDeleted, + includeRestricted}); + return ((SearchSecretsResult)(results[0])); + } + + /// + public void SearchSecretsAsync(string searchTerm, System.Nullable includeDeleted, System.Nullable includeRestricted) { + this.SearchSecretsAsync(searchTerm, includeDeleted, includeRestricted, null); + } + + /// + public void SearchSecretsAsync(string searchTerm, System.Nullable includeDeleted, System.Nullable includeRestricted, object userState) { + if ((this.SearchSecretsOperationCompleted == null)) { + this.SearchSecretsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSearchSecretsOperationCompleted); + } + this.InvokeAsync("SearchSecrets", new object[] { + searchTerm, + includeDeleted, + includeRestricted}, this.SearchSecretsOperationCompleted, userState); + } + + private void OnSearchSecretsOperationCompleted(object arg) { + if ((this.SearchSecretsCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.SearchSecretsCompleted(this, new SearchSecretsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/SearchSecretsLegacy", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SearchSecretsResult SearchSecretsLegacy(string searchTerm) { + object[] results = this.Invoke("SearchSecretsLegacy", new object[] { + searchTerm}); + return ((SearchSecretsResult)(results[0])); + } + + /// + public void SearchSecretsLegacyAsync(string searchTerm) { + this.SearchSecretsLegacyAsync(searchTerm, null); + } + + /// + public void SearchSecretsLegacyAsync(string searchTerm, object userState) { + if ((this.SearchSecretsLegacyOperationCompleted == null)) { + this.SearchSecretsLegacyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSearchSecretsLegacyOperationCompleted); + } + this.InvokeAsync("SearchSecretsLegacy", new object[] { + searchTerm}, this.SearchSecretsLegacyOperationCompleted, userState); + } + + private void OnSearchSecretsLegacyOperationCompleted(object arg) { + if ((this.SearchSecretsLegacyCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.SearchSecretsLegacyCompleted(this, new SearchSecretsLegacyCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/SearchSecretsByFolder", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SearchSecretsResult SearchSecretsByFolder(string searchTerm, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] System.Nullable folderId, bool includeSubFolders, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] System.Nullable includeDeleted, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] System.Nullable includeRestricted) { + object[] results = this.Invoke("SearchSecretsByFolder", new object[] { + searchTerm, + folderId, + includeSubFolders, + includeDeleted, + includeRestricted}); + return ((SearchSecretsResult)(results[0])); + } + + /// + public void SearchSecretsByFolderAsync(string searchTerm, System.Nullable folderId, bool includeSubFolders, System.Nullable includeDeleted, System.Nullable includeRestricted) { + this.SearchSecretsByFolderAsync(searchTerm, folderId, includeSubFolders, includeDeleted, includeRestricted, null); + } + + /// + public void SearchSecretsByFolderAsync(string searchTerm, System.Nullable folderId, bool includeSubFolders, System.Nullable includeDeleted, System.Nullable includeRestricted, object userState) { + if ((this.SearchSecretsByFolderOperationCompleted == null)) { + this.SearchSecretsByFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSearchSecretsByFolderOperationCompleted); + } + this.InvokeAsync("SearchSecretsByFolder", new object[] { + searchTerm, + folderId, + includeSubFolders, + includeDeleted, + includeRestricted}, this.SearchSecretsByFolderOperationCompleted, userState); + } + + private void OnSearchSecretsByFolderOperationCompleted(object arg) { + if ((this.SearchSecretsByFolderCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.SearchSecretsByFolderCompleted(this, new SearchSecretsByFolderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/SearchSecretsByFolderLegacy", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SearchSecretsResult SearchSecretsByFolderLegacy(string searchTerm, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] System.Nullable folderId, bool includeSubFolders) { + object[] results = this.Invoke("SearchSecretsByFolderLegacy", new object[] { + searchTerm, + folderId, + includeSubFolders}); + return ((SearchSecretsResult)(results[0])); + } + + /// + public void SearchSecretsByFolderLegacyAsync(string searchTerm, System.Nullable folderId, bool includeSubFolders) { + this.SearchSecretsByFolderLegacyAsync(searchTerm, folderId, includeSubFolders, null); + } + + /// + public void SearchSecretsByFolderLegacyAsync(string searchTerm, System.Nullable folderId, bool includeSubFolders, object userState) { + if ((this.SearchSecretsByFolderLegacyOperationCompleted == null)) { + this.SearchSecretsByFolderLegacyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSearchSecretsByFolderLegacyOperationCompleted); + } + this.InvokeAsync("SearchSecretsByFolderLegacy", new object[] { + searchTerm, + folderId, + includeSubFolders}, this.SearchSecretsByFolderLegacyOperationCompleted, userState); + } + + private void OnSearchSecretsByFolderLegacyOperationCompleted(object arg) { + if ((this.SearchSecretsByFolderLegacyCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.SearchSecretsByFolderLegacyCompleted(this, new SearchSecretsByFolderLegacyCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/ExpireSecret", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult ExpireSecret(int secretId) { + object[] results = this.Invoke("ExpireSecret", new object[] { + secretId}); + return ((WebServiceResult)(results[0])); + } + + /// + public void ExpireSecretAsync(int secretId) { + this.ExpireSecretAsync(secretId, null); + } + + /// + public void ExpireSecretAsync(int secretId, object userState) { + if ((this.ExpireSecretOperationCompleted == null)) { + this.ExpireSecretOperationCompleted = new System.Threading.SendOrPostCallback(this.OnExpireSecretOperationCompleted); + } + this.InvokeAsync("ExpireSecret", new object[] { + secretId}, this.ExpireSecretOperationCompleted, userState); + } + + private void OnExpireSecretOperationCompleted(object arg) { + if ((this.ExpireSecretCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.ExpireSecretCompleted(this, new ExpireSecretCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetFavorites", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetFavoritesResult GetFavorites() { + object[] results = this.Invoke("GetFavorites", new object[0]); + return ((GetFavoritesResult)(results[0])); + } + + /// + public void GetFavoritesAsync() { + this.GetFavoritesAsync(null); + } + + /// + public void GetFavoritesAsync(object userState) { + if ((this.GetFavoritesOperationCompleted == null)) { + this.GetFavoritesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetFavoritesOperationCompleted); + } + this.InvokeAsync("GetFavorites", new object[0], this.GetFavoritesOperationCompleted, userState); + } + + private void OnGetFavoritesOperationCompleted(object arg) { + if ((this.GetFavoritesCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetFavoritesCompleted(this, new GetFavoritesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/UpdateIsFavorite", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult UpdateIsFavorite(int secretId, bool isFavorite) { + object[] results = this.Invoke("UpdateIsFavorite", new object[] { + secretId, + isFavorite}); + return ((WebServiceResult)(results[0])); + } + + /// + public void UpdateIsFavoriteAsync(int secretId, bool isFavorite) { + this.UpdateIsFavoriteAsync(secretId, isFavorite, null); + } + + /// + public void UpdateIsFavoriteAsync(int secretId, bool isFavorite, object userState) { + if ((this.UpdateIsFavoriteOperationCompleted == null)) { + this.UpdateIsFavoriteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateIsFavoriteOperationCompleted); + } + this.InvokeAsync("UpdateIsFavorite", new object[] { + secretId, + isFavorite}, this.UpdateIsFavoriteOperationCompleted, userState); + } + + private void OnUpdateIsFavoriteOperationCompleted(object arg) { + if ((this.UpdateIsFavoriteCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.UpdateIsFavoriteCompleted(this, new UpdateIsFavoriteCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/CheckIn", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult CheckIn(int secretId) { + object[] results = this.Invoke("CheckIn", new object[] { + secretId}); + return ((WebServiceResult)(results[0])); + } + + /// + public void CheckInAsync(int secretId) { + this.CheckInAsync(secretId, null); + } + + /// + public void CheckInAsync(int secretId, object userState) { + if ((this.CheckInOperationCompleted == null)) { + this.CheckInOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckInOperationCompleted); + } + this.InvokeAsync("CheckIn", new object[] { + secretId}, this.CheckInOperationCompleted, userState); + } + + private void OnCheckInOperationCompleted(object arg) { + if ((this.CheckInCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.CheckInCompleted(this, new CheckInCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/AddSecret", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public AddSecretResult AddSecret(int secretTypeId, string secretName, int[] secretFieldIds, string[] secretItemValues, int folderId) { + object[] results = this.Invoke("AddSecret", new object[] { + secretTypeId, + secretName, + secretFieldIds, + secretItemValues, + folderId}); + return ((AddSecretResult)(results[0])); + } + + /// + public void AddSecretAsync(int secretTypeId, string secretName, int[] secretFieldIds, string[] secretItemValues, int folderId) { + this.AddSecretAsync(secretTypeId, secretName, secretFieldIds, secretItemValues, folderId, null); + } + + /// + public void AddSecretAsync(int secretTypeId, string secretName, int[] secretFieldIds, string[] secretItemValues, int folderId, object userState) { + if ((this.AddSecretOperationCompleted == null)) { + this.AddSecretOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddSecretOperationCompleted); + } + this.InvokeAsync("AddSecret", new object[] { + secretTypeId, + secretName, + secretFieldIds, + secretItemValues, + folderId}, this.AddSecretOperationCompleted, userState); + } + + private void OnAddSecretOperationCompleted(object arg) { + if ((this.AddSecretCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AddSecretCompleted(this, new AddSecretCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/AddNewSecret", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public AddSecretResult AddNewSecret(Secret secret) { + object[] results = this.Invoke("AddNewSecret", new object[] { + secret}); + return ((AddSecretResult)(results[0])); + } + + /// + public void AddNewSecretAsync(Secret secret) { + this.AddNewSecretAsync(secret, null); + } + + /// + public void AddNewSecretAsync(Secret secret, object userState) { + if ((this.AddNewSecretOperationCompleted == null)) { + this.AddNewSecretOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddNewSecretOperationCompleted); + } + this.InvokeAsync("AddNewSecret", new object[] { + secret}, this.AddNewSecretOperationCompleted, userState); + } + + private void OnAddNewSecretOperationCompleted(object arg) { + if ((this.AddNewSecretCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AddNewSecretCompleted(this, new AddNewSecretCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetNewSecret", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetSecretResult GetNewSecret(int secretTypeId, int folderId) { + object[] results = this.Invoke("GetNewSecret", new object[] { + secretTypeId, + folderId}); + return ((GetSecretResult)(results[0])); + } + + /// + public void GetNewSecretAsync(int secretTypeId, int folderId) { + this.GetNewSecretAsync(secretTypeId, folderId, null); + } + + /// + public void GetNewSecretAsync(int secretTypeId, int folderId, object userState) { + if ((this.GetNewSecretOperationCompleted == null)) { + this.GetNewSecretOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetNewSecretOperationCompleted); + } + this.InvokeAsync("GetNewSecret", new object[] { + secretTypeId, + folderId}, this.GetNewSecretOperationCompleted, userState); + } + + private void OnGetNewSecretOperationCompleted(object arg) { + if ((this.GetNewSecretCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetNewSecretCompleted(this, new GetNewSecretCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetSecretTemplateFields", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetSecretTemplateFieldsResult GetSecretTemplateFields(int secretTypeId) { + object[] results = this.Invoke("GetSecretTemplateFields", new object[] { + secretTypeId}); + return ((GetSecretTemplateFieldsResult)(results[0])); + } + + /// + public void GetSecretTemplateFieldsAsync(int secretTypeId) { + this.GetSecretTemplateFieldsAsync(secretTypeId, null); + } + + /// + public void GetSecretTemplateFieldsAsync(int secretTypeId, object userState) { + if ((this.GetSecretTemplateFieldsOperationCompleted == null)) { + this.GetSecretTemplateFieldsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSecretTemplateFieldsOperationCompleted); + } + this.InvokeAsync("GetSecretTemplateFields", new object[] { + secretTypeId}, this.GetSecretTemplateFieldsOperationCompleted, userState); + } + + private void OnGetSecretTemplateFieldsOperationCompleted(object arg) { + if ((this.GetSecretTemplateFieldsCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetSecretTemplateFieldsCompleted(this, new GetSecretTemplateFieldsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/UpdateSecret", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult UpdateSecret(Secret secret) { + object[] results = this.Invoke("UpdateSecret", new object[] { + secret}); + return ((WebServiceResult)(results[0])); + } + + /// + public void UpdateSecretAsync(Secret secret) { + this.UpdateSecretAsync(secret, null); + } + + /// + public void UpdateSecretAsync(Secret secret, object userState) { + if ((this.UpdateSecretOperationCompleted == null)) { + this.UpdateSecretOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateSecretOperationCompleted); + } + this.InvokeAsync("UpdateSecret", new object[] { + secret}, this.UpdateSecretOperationCompleted, userState); + } + + private void OnUpdateSecretOperationCompleted(object arg) { + if ((this.UpdateSecretCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.UpdateSecretCompleted(this, new UpdateSecretCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetSecretTemplates", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetSecretTemplatesResult GetSecretTemplates() { + object[] results = this.Invoke("GetSecretTemplates", new object[0]); + return ((GetSecretTemplatesResult)(results[0])); + } + + /// + public void GetSecretTemplatesAsync() { + this.GetSecretTemplatesAsync(null); + } + + /// + public void GetSecretTemplatesAsync(object userState) { + if ((this.GetSecretTemplatesOperationCompleted == null)) { + this.GetSecretTemplatesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSecretTemplatesOperationCompleted); + } + this.InvokeAsync("GetSecretTemplates", new object[0], this.GetSecretTemplatesOperationCompleted, userState); + } + + private void OnGetSecretTemplatesOperationCompleted(object arg) { + if ((this.GetSecretTemplatesCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetSecretTemplatesCompleted(this, new GetSecretTemplatesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GeneratePassword", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GeneratePasswordResult GeneratePassword(int secretFieldId) { + object[] results = this.Invoke("GeneratePassword", new object[] { + secretFieldId}); + return ((GeneratePasswordResult)(results[0])); + } + + /// + public void GeneratePasswordAsync(int secretFieldId) { + this.GeneratePasswordAsync(secretFieldId, null); + } + + /// + public void GeneratePasswordAsync(int secretFieldId, object userState) { + if ((this.GeneratePasswordOperationCompleted == null)) { + this.GeneratePasswordOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGeneratePasswordOperationCompleted); + } + this.InvokeAsync("GeneratePassword", new object[] { + secretFieldId}, this.GeneratePasswordOperationCompleted, userState); + } + + private void OnGeneratePasswordOperationCompleted(object arg) { + if ((this.GeneratePasswordCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GeneratePasswordCompleted(this, new GeneratePasswordCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/DeactivateSecret", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult DeactivateSecret(int secretId) { + object[] results = this.Invoke("DeactivateSecret", new object[] { + secretId}); + return ((WebServiceResult)(results[0])); + } + + /// + public void DeactivateSecretAsync(int secretId) { + this.DeactivateSecretAsync(secretId, null); + } + + /// + public void DeactivateSecretAsync(int secretId, object userState) { + if ((this.DeactivateSecretOperationCompleted == null)) { + this.DeactivateSecretOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeactivateSecretOperationCompleted); + } + this.InvokeAsync("DeactivateSecret", new object[] { + secretId}, this.DeactivateSecretOperationCompleted, userState); + } + + private void OnDeactivateSecretOperationCompleted(object arg) { + if ((this.DeactivateSecretCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.DeactivateSecretCompleted(this, new DeactivateSecretCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/VersionGet", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public VersionGetResult VersionGet() { + object[] results = this.Invoke("VersionGet", new object[0]); + return ((VersionGetResult)(results[0])); + } + + /// + public void VersionGetAsync() { + this.VersionGetAsync(null); + } + + /// + public void VersionGetAsync(object userState) { + if ((this.VersionGetOperationCompleted == null)) { + this.VersionGetOperationCompleted = new System.Threading.SendOrPostCallback(this.OnVersionGetOperationCompleted); + } + this.InvokeAsync("VersionGet", new object[0], this.VersionGetOperationCompleted, userState); + } + + private void OnVersionGetOperationCompleted(object arg) { + if ((this.VersionGetCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.VersionGetCompleted(this, new VersionGetCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetCheckOutStatus", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetCheckOutStatusResult GetCheckOutStatus(int secretId) { + object[] results = this.Invoke("GetCheckOutStatus", new object[] { + secretId}); + return ((GetCheckOutStatusResult)(results[0])); + } + + /// + public void GetCheckOutStatusAsync(int secretId) { + this.GetCheckOutStatusAsync(secretId, null); + } + + /// + public void GetCheckOutStatusAsync(int secretId, object userState) { + if ((this.GetCheckOutStatusOperationCompleted == null)) { + this.GetCheckOutStatusOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetCheckOutStatusOperationCompleted); + } + this.InvokeAsync("GetCheckOutStatus", new object[] { + secretId}, this.GetCheckOutStatusOperationCompleted, userState); + } + + private void OnGetCheckOutStatusOperationCompleted(object arg) { + if ((this.GetCheckOutStatusCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetCheckOutStatusCompleted(this, new GetCheckOutStatusCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetSecretAudit", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetSecretAuditResult GetSecretAudit(int secretId) { + object[] results = this.Invoke("GetSecretAudit", new object[] { + secretId}); + return ((GetSecretAuditResult)(results[0])); + } + + /// + public void GetSecretAuditAsync(int secretId) { + this.GetSecretAuditAsync(secretId, null); + } + + /// + public void GetSecretAuditAsync(int secretId, object userState) { + if ((this.GetSecretAuditOperationCompleted == null)) { + this.GetSecretAuditOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSecretAuditOperationCompleted); + } + this.InvokeAsync("GetSecretAudit", new object[] { + secretId}, this.GetSecretAuditOperationCompleted, userState); + } + + private void OnGetSecretAuditOperationCompleted(object arg) { + if ((this.GetSecretAuditCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetSecretAuditCompleted(this, new GetSecretAuditCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/FolderGet", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetFolderResult FolderGet(int folderId) { + object[] results = this.Invoke("FolderGet", new object[] { + folderId}); + return ((GetFolderResult)(results[0])); + } + + /// + public void FolderGetAsync(int folderId) { + this.FolderGetAsync(folderId, null); + } + + /// + public void FolderGetAsync(int folderId, object userState) { + if ((this.FolderGetOperationCompleted == null)) { + this.FolderGetOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFolderGetOperationCompleted); + } + this.InvokeAsync("FolderGet", new object[] { + folderId}, this.FolderGetOperationCompleted, userState); + } + + private void OnFolderGetOperationCompleted(object arg) { + if ((this.FolderGetCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.FolderGetCompleted(this, new FolderGetCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/FolderUpdate", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult FolderUpdate(Folder modifiedFolder) { + object[] results = this.Invoke("FolderUpdate", new object[] { + modifiedFolder}); + return ((WebServiceResult)(results[0])); + } + + /// + public void FolderUpdateAsync(Folder modifiedFolder) { + this.FolderUpdateAsync(modifiedFolder, null); + } + + /// + public void FolderUpdateAsync(Folder modifiedFolder, object userState) { + if ((this.FolderUpdateOperationCompleted == null)) { + this.FolderUpdateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFolderUpdateOperationCompleted); + } + this.InvokeAsync("FolderUpdate", new object[] { + modifiedFolder}, this.FolderUpdateOperationCompleted, userState); + } + + private void OnFolderUpdateOperationCompleted(object arg) { + if ((this.FolderUpdateCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.FolderUpdateCompleted(this, new FolderUpdateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/FolderGetAllChildren", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetFoldersResult FolderGetAllChildren(int parentFolderId) { + object[] results = this.Invoke("FolderGetAllChildren", new object[] { + parentFolderId}); + return ((GetFoldersResult)(results[0])); + } + + /// + public void FolderGetAllChildrenAsync(int parentFolderId) { + this.FolderGetAllChildrenAsync(parentFolderId, null); + } + + /// + public void FolderGetAllChildrenAsync(int parentFolderId, object userState) { + if ((this.FolderGetAllChildrenOperationCompleted == null)) { + this.FolderGetAllChildrenOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFolderGetAllChildrenOperationCompleted); + } + this.InvokeAsync("FolderGetAllChildren", new object[] { + parentFolderId}, this.FolderGetAllChildrenOperationCompleted, userState); + } + + private void OnFolderGetAllChildrenOperationCompleted(object arg) { + if ((this.FolderGetAllChildrenCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.FolderGetAllChildrenCompleted(this, new FolderGetAllChildrenCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/SearchFolders", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SearchFolderResult SearchFolders(string folderName) { + object[] results = this.Invoke("SearchFolders", new object[] { + folderName}); + return ((SearchFolderResult)(results[0])); + } + + /// + public void SearchFoldersAsync(string folderName) { + this.SearchFoldersAsync(folderName, null); + } + + /// + public void SearchFoldersAsync(string folderName, object userState) { + if ((this.SearchFoldersOperationCompleted == null)) { + this.SearchFoldersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSearchFoldersOperationCompleted); + } + this.InvokeAsync("SearchFolders", new object[] { + folderName}, this.SearchFoldersOperationCompleted, userState); + } + + private void OnSearchFoldersOperationCompleted(object arg) { + if ((this.SearchFoldersCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.SearchFoldersCompleted(this, new SearchFoldersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/RemoveDependency", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult RemoveDependency(int dependencyId, int secretId) { + object[] results = this.Invoke("RemoveDependency", new object[] { + dependencyId, + secretId}); + return ((WebServiceResult)(results[0])); + } + + /// + public void RemoveDependencyAsync(int dependencyId, int secretId) { + this.RemoveDependencyAsync(dependencyId, secretId, null); + } + + /// + public void RemoveDependencyAsync(int dependencyId, int secretId, object userState) { + if ((this.RemoveDependencyOperationCompleted == null)) { + this.RemoveDependencyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRemoveDependencyOperationCompleted); + } + this.InvokeAsync("RemoveDependency", new object[] { + dependencyId, + secretId}, this.RemoveDependencyOperationCompleted, userState); + } + + private void OnRemoveDependencyOperationCompleted(object arg) { + if ((this.RemoveDependencyCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.RemoveDependencyCompleted(this, new RemoveDependencyCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetDependencies", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetDependenciesResult GetDependencies(int secretId) { + object[] results = this.Invoke("GetDependencies", new object[] { + secretId}); + return ((GetDependenciesResult)(results[0])); + } + + /// + public void GetDependenciesAsync(int secretId) { + this.GetDependenciesAsync(secretId, null); + } + + /// + public void GetDependenciesAsync(int secretId, object userState) { + if ((this.GetDependenciesOperationCompleted == null)) { + this.GetDependenciesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDependenciesOperationCompleted); + } + this.InvokeAsync("GetDependencies", new object[] { + secretId}, this.GetDependenciesOperationCompleted, userState); + } + + private void OnGetDependenciesOperationCompleted(object arg) { + if ((this.GetDependenciesCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetDependenciesCompleted(this, new GetDependenciesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/AddDependency", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult AddDependency(Dependency dependency) { + object[] results = this.Invoke("AddDependency", new object[] { + dependency}); + return ((WebServiceResult)(results[0])); + } + + /// + public void AddDependencyAsync(Dependency dependency) { + this.AddDependencyAsync(dependency, null); + } + + /// + public void AddDependencyAsync(Dependency dependency, object userState) { + if ((this.AddDependencyOperationCompleted == null)) { + this.AddDependencyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddDependencyOperationCompleted); + } + this.InvokeAsync("AddDependency", new object[] { + dependency}, this.AddDependencyOperationCompleted, userState); + } + + private void OnAddDependencyOperationCompleted(object arg) { + if ((this.AddDependencyCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AddDependencyCompleted(this, new AddDependencyCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/CreateDependencyGroupForSecret", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult CreateDependencyGroupForSecret(string token, DependencyGroup dependencyGroup) { + object[] results = this.Invoke("CreateDependencyGroupForSecret", new object[] { + token, + dependencyGroup}); + return ((WebServiceResult)(results[0])); + } + + /// + public void CreateDependencyGroupForSecretAsync(string token, DependencyGroup dependencyGroup) { + this.CreateDependencyGroupForSecretAsync(token, dependencyGroup, null); + } + + /// + public void CreateDependencyGroupForSecretAsync(string token, DependencyGroup dependencyGroup, object userState) { + if ((this.CreateDependencyGroupForSecretOperationCompleted == null)) { + this.CreateDependencyGroupForSecretOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateDependencyGroupForSecretOperationCompleted); + } + this.InvokeAsync("CreateDependencyGroupForSecret", new object[] { + token, + dependencyGroup}, this.CreateDependencyGroupForSecretOperationCompleted, userState); + } + + private void OnCreateDependencyGroupForSecretOperationCompleted(object arg) { + if ((this.CreateDependencyGroupForSecretCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.CreateDependencyGroupForSecretCompleted(this, new CreateDependencyGroupForSecretCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetDependencyGroupsForSecret", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetDependencyGroupsResult GetDependencyGroupsForSecret(string token, int secretId) { + object[] results = this.Invoke("GetDependencyGroupsForSecret", new object[] { + token, + secretId}); + return ((GetDependencyGroupsResult)(results[0])); + } + + /// + public void GetDependencyGroupsForSecretAsync(string token, int secretId) { + this.GetDependencyGroupsForSecretAsync(token, secretId, null); + } + + /// + public void GetDependencyGroupsForSecretAsync(string token, int secretId, object userState) { + if ((this.GetDependencyGroupsForSecretOperationCompleted == null)) { + this.GetDependencyGroupsForSecretOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDependencyGroupsForSecretOperationCompleted); + } + this.InvokeAsync("GetDependencyGroupsForSecret", new object[] { + token, + secretId}, this.GetDependencyGroupsForSecretOperationCompleted, userState); + } + + private void OnGetDependencyGroupsForSecretOperationCompleted(object arg) { + if ((this.GetDependencyGroupsForSecretCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetDependencyGroupsForSecretCompleted(this, new GetDependencyGroupsForSecretCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/UpdateDependencyGroupForSecret", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult UpdateDependencyGroupForSecret(string token, DependencyGroup dependencyGroup) { + object[] results = this.Invoke("UpdateDependencyGroupForSecret", new object[] { + token, + dependencyGroup}); + return ((WebServiceResult)(results[0])); + } + + /// + public void UpdateDependencyGroupForSecretAsync(string token, DependencyGroup dependencyGroup) { + this.UpdateDependencyGroupForSecretAsync(token, dependencyGroup, null); + } + + /// + public void UpdateDependencyGroupForSecretAsync(string token, DependencyGroup dependencyGroup, object userState) { + if ((this.UpdateDependencyGroupForSecretOperationCompleted == null)) { + this.UpdateDependencyGroupForSecretOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateDependencyGroupForSecretOperationCompleted); + } + this.InvokeAsync("UpdateDependencyGroupForSecret", new object[] { + token, + dependencyGroup}, this.UpdateDependencyGroupForSecretOperationCompleted, userState); + } + + private void OnUpdateDependencyGroupForSecretOperationCompleted(object arg) { + if ((this.UpdateDependencyGroupForSecretCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.UpdateDependencyGroupForSecretCompleted(this, new UpdateDependencyGroupForSecretCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/RemoveDependencyGroupForSecret", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult RemoveDependencyGroupForSecret(string token, int dependencyGroupId) { + object[] results = this.Invoke("RemoveDependencyGroupForSecret", new object[] { + token, + dependencyGroupId}); + return ((WebServiceResult)(results[0])); + } + + /// + public void RemoveDependencyGroupForSecretAsync(string token, int dependencyGroupId) { + this.RemoveDependencyGroupForSecretAsync(token, dependencyGroupId, null); + } + + /// + public void RemoveDependencyGroupForSecretAsync(string token, int dependencyGroupId, object userState) { + if ((this.RemoveDependencyGroupForSecretOperationCompleted == null)) { + this.RemoveDependencyGroupForSecretOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRemoveDependencyGroupForSecretOperationCompleted); + } + this.InvokeAsync("RemoveDependencyGroupForSecret", new object[] { + token, + dependencyGroupId}, this.RemoveDependencyGroupForSecretOperationCompleted, userState); + } + + private void OnRemoveDependencyGroupForSecretOperationCompleted(object arg) { + if ((this.RemoveDependencyGroupForSecretCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.RemoveDependencyGroupForSecretCompleted(this, new RemoveDependencyGroupForSecretCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/DownloadFileAttachment", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public FileDownloadResult DownloadFileAttachment(string token, int secretId) { + object[] results = this.Invoke("DownloadFileAttachment", new object[] { + token, + secretId}); + return ((FileDownloadResult)(results[0])); + } + + /// + public void DownloadFileAttachmentAsync(string token, int secretId) { + this.DownloadFileAttachmentAsync(token, secretId, null); + } + + /// + public void DownloadFileAttachmentAsync(string token, int secretId, object userState) { + if ((this.DownloadFileAttachmentOperationCompleted == null)) { + this.DownloadFileAttachmentOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDownloadFileAttachmentOperationCompleted); + } + this.InvokeAsync("DownloadFileAttachment", new object[] { + token, + secretId}, this.DownloadFileAttachmentOperationCompleted, userState); + } + + private void OnDownloadFileAttachmentOperationCompleted(object arg) { + if ((this.DownloadFileAttachmentCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.DownloadFileAttachmentCompleted(this, new DownloadFileAttachmentCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/DownloadFileAttachmentByItemId", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public FileDownloadResult DownloadFileAttachmentByItemId(string token, int secretId, int secretItemId) { + object[] results = this.Invoke("DownloadFileAttachmentByItemId", new object[] { + token, + secretId, + secretItemId}); + return ((FileDownloadResult)(results[0])); + } + + /// + public void DownloadFileAttachmentByItemIdAsync(string token, int secretId, int secretItemId) { + this.DownloadFileAttachmentByItemIdAsync(token, secretId, secretItemId, null); + } + + /// + public void DownloadFileAttachmentByItemIdAsync(string token, int secretId, int secretItemId, object userState) { + if ((this.DownloadFileAttachmentByItemIdOperationCompleted == null)) { + this.DownloadFileAttachmentByItemIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDownloadFileAttachmentByItemIdOperationCompleted); + } + this.InvokeAsync("DownloadFileAttachmentByItemId", new object[] { + token, + secretId, + secretItemId}, this.DownloadFileAttachmentByItemIdOperationCompleted, userState); + } + + private void OnDownloadFileAttachmentByItemIdOperationCompleted(object arg) { + if ((this.DownloadFileAttachmentByItemIdCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.DownloadFileAttachmentByItemIdCompleted(this, new DownloadFileAttachmentByItemIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/UploadFileAttachment", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult UploadFileAttachment(string token, int secretId, [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] byte[] fileData, string fileName) { + object[] results = this.Invoke("UploadFileAttachment", new object[] { + token, + secretId, + fileData, + fileName}); + return ((WebServiceResult)(results[0])); + } + + /// + public void UploadFileAttachmentAsync(string token, int secretId, byte[] fileData, string fileName) { + this.UploadFileAttachmentAsync(token, secretId, fileData, fileName, null); + } + + /// + public void UploadFileAttachmentAsync(string token, int secretId, byte[] fileData, string fileName, object userState) { + if ((this.UploadFileAttachmentOperationCompleted == null)) { + this.UploadFileAttachmentOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUploadFileAttachmentOperationCompleted); + } + this.InvokeAsync("UploadFileAttachment", new object[] { + token, + secretId, + fileData, + fileName}, this.UploadFileAttachmentOperationCompleted, userState); + } + + private void OnUploadFileAttachmentOperationCompleted(object arg) { + if ((this.UploadFileAttachmentCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.UploadFileAttachmentCompleted(this, new UploadFileAttachmentCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/UploadFileAttachmentByItemId", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult UploadFileAttachmentByItemId(string token, int secretId, int secretItemId, [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] byte[] fileData, string fileName) { + object[] results = this.Invoke("UploadFileAttachmentByItemId", new object[] { + token, + secretId, + secretItemId, + fileData, + fileName}); + return ((WebServiceResult)(results[0])); + } + + /// + public void UploadFileAttachmentByItemIdAsync(string token, int secretId, int secretItemId, byte[] fileData, string fileName) { + this.UploadFileAttachmentByItemIdAsync(token, secretId, secretItemId, fileData, fileName, null); + } + + /// + public void UploadFileAttachmentByItemIdAsync(string token, int secretId, int secretItemId, byte[] fileData, string fileName, object userState) { + if ((this.UploadFileAttachmentByItemIdOperationCompleted == null)) { + this.UploadFileAttachmentByItemIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUploadFileAttachmentByItemIdOperationCompleted); + } + this.InvokeAsync("UploadFileAttachmentByItemId", new object[] { + token, + secretId, + secretItemId, + fileData, + fileName}, this.UploadFileAttachmentByItemIdOperationCompleted, userState); + } + + private void OnUploadFileAttachmentByItemIdOperationCompleted(object arg) { + if ((this.UploadFileAttachmentByItemIdCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.UploadFileAttachmentByItemIdCompleted(this, new UploadFileAttachmentByItemIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/ImportXML", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult ImportXML(string xml) { + object[] results = this.Invoke("ImportXML", new object[] { + xml}); + return ((WebServiceResult)(results[0])); + } + + /// + public void ImportXMLAsync(string xml) { + this.ImportXMLAsync(xml, null); + } + + /// + public void ImportXMLAsync(string xml, object userState) { + if ((this.ImportXMLOperationCompleted == null)) { + this.ImportXMLOperationCompleted = new System.Threading.SendOrPostCallback(this.OnImportXMLOperationCompleted); + } + this.InvokeAsync("ImportXML", new object[] { + xml}, this.ImportXMLOperationCompleted, userState); + } + + private void OnImportXMLOperationCompleted(object arg) { + if ((this.ImportXMLCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.ImportXMLCompleted(this, new ImportXMLCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/SetCheckOutEnabled", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult SetCheckOutEnabled(int secretId, bool setCheckOut, bool setPasswordChangeOnCheckIn, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] System.Nullable checkOutInterval) { + object[] results = this.Invoke("SetCheckOutEnabled", new object[] { + secretId, + setCheckOut, + setPasswordChangeOnCheckIn, + checkOutInterval}); + return ((WebServiceResult)(results[0])); + } + + /// + public void SetCheckOutEnabledAsync(int secretId, bool setCheckOut, bool setPasswordChangeOnCheckIn, System.Nullable checkOutInterval) { + this.SetCheckOutEnabledAsync(secretId, setCheckOut, setPasswordChangeOnCheckIn, checkOutInterval, null); + } + + /// + public void SetCheckOutEnabledAsync(int secretId, bool setCheckOut, bool setPasswordChangeOnCheckIn, System.Nullable checkOutInterval, object userState) { + if ((this.SetCheckOutEnabledOperationCompleted == null)) { + this.SetCheckOutEnabledOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetCheckOutEnabledOperationCompleted); + } + this.InvokeAsync("SetCheckOutEnabled", new object[] { + secretId, + setCheckOut, + setPasswordChangeOnCheckIn, + checkOutInterval}, this.SetCheckOutEnabledOperationCompleted, userState); + } + + private void OnSetCheckOutEnabledOperationCompleted(object arg) { + if ((this.SetCheckOutEnabledCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.SetCheckOutEnabledCompleted(this, new SetCheckOutEnabledCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetDistributedEngines", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetSitesResult GetDistributedEngines() { + object[] results = this.Invoke("GetDistributedEngines", new object[0]); + return ((GetSitesResult)(results[0])); + } + + /// + public void GetDistributedEnginesAsync() { + this.GetDistributedEnginesAsync(null); + } + + /// + public void GetDistributedEnginesAsync(object userState) { + if ((this.GetDistributedEnginesOperationCompleted == null)) { + this.GetDistributedEnginesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDistributedEnginesOperationCompleted); + } + this.InvokeAsync("GetDistributedEngines", new object[0], this.GetDistributedEnginesOperationCompleted, userState); + } + + private void OnGetDistributedEnginesOperationCompleted(object arg) { + if ((this.GetDistributedEnginesCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetDistributedEnginesCompleted(this, new GetDistributedEnginesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetTicketSystems", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetTicketSystemsResult GetTicketSystems() { + object[] results = this.Invoke("GetTicketSystems", new object[0]); + return ((GetTicketSystemsResult)(results[0])); + } + + /// + public void GetTicketSystemsAsync() { + this.GetTicketSystemsAsync(null); + } + + /// + public void GetTicketSystemsAsync(object userState) { + if ((this.GetTicketSystemsOperationCompleted == null)) { + this.GetTicketSystemsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetTicketSystemsOperationCompleted); + } + this.InvokeAsync("GetTicketSystems", new object[0], this.GetTicketSystemsOperationCompleted, userState); + } + + private void OnGetTicketSystemsOperationCompleted(object arg) { + if ((this.GetTicketSystemsCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetTicketSystemsCompleted(this, new GetTicketSystemsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/AssignSite", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult AssignSite(int secretId, int siteId) { + object[] results = this.Invoke("AssignSite", new object[] { + secretId, + siteId}); + return ((WebServiceResult)(results[0])); + } + + /// + public void AssignSiteAsync(int secretId, int siteId) { + this.AssignSiteAsync(secretId, siteId, null); + } + + /// + public void AssignSiteAsync(int secretId, int siteId, object userState) { + if ((this.AssignSiteOperationCompleted == null)) { + this.AssignSiteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAssignSiteOperationCompleted); + } + this.InvokeAsync("AssignSite", new object[] { + secretId, + siteId}, this.AssignSiteOperationCompleted, userState); + } + + private void OnAssignSiteOperationCompleted(object arg) { + if ((this.AssignSiteCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AssignSiteCompleted(this, new AssignSiteCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/AddSecretCustomAudit", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult AddSecretCustomAudit(int secretId, string notes, string ipAddress, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] System.Nullable referenceId, string ticketNumber, int userId) { + object[] results = this.Invoke("AddSecretCustomAudit", new object[] { + secretId, + notes, + ipAddress, + referenceId, + ticketNumber, + userId}); + return ((WebServiceResult)(results[0])); + } + + /// + public void AddSecretCustomAuditAsync(int secretId, string notes, string ipAddress, System.Nullable referenceId, string ticketNumber, int userId) { + this.AddSecretCustomAuditAsync(secretId, notes, ipAddress, referenceId, ticketNumber, userId, null); + } + + /// + public void AddSecretCustomAuditAsync(int secretId, string notes, string ipAddress, System.Nullable referenceId, string ticketNumber, int userId, object userState) { + if ((this.AddSecretCustomAuditOperationCompleted == null)) { + this.AddSecretCustomAuditOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddSecretCustomAuditOperationCompleted); + } + this.InvokeAsync("AddSecretCustomAudit", new object[] { + secretId, + notes, + ipAddress, + referenceId, + ticketNumber, + userId}, this.AddSecretCustomAuditOperationCompleted, userState); + } + + private void OnAddSecretCustomAuditOperationCompleted(object arg) { + if ((this.AddSecretCustomAuditCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AddSecretCustomAuditCompleted(this, new AddSecretCustomAuditCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/UpdateSecretPermission", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult UpdateSecretPermission(int secretId, GroupOrUserRecord groupOrUserRecord, bool view, bool edit, bool owner) { + object[] results = this.Invoke("UpdateSecretPermission", new object[] { + secretId, + groupOrUserRecord, + view, + edit, + owner}); + return ((WebServiceResult)(results[0])); + } + + /// + public void UpdateSecretPermissionAsync(int secretId, GroupOrUserRecord groupOrUserRecord, bool view, bool edit, bool owner) { + this.UpdateSecretPermissionAsync(secretId, groupOrUserRecord, view, edit, owner, null); + } + + /// + public void UpdateSecretPermissionAsync(int secretId, GroupOrUserRecord groupOrUserRecord, bool view, bool edit, bool owner, object userState) { + if ((this.UpdateSecretPermissionOperationCompleted == null)) { + this.UpdateSecretPermissionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateSecretPermissionOperationCompleted); + } + this.InvokeAsync("UpdateSecretPermission", new object[] { + secretId, + groupOrUserRecord, + view, + edit, + owner}, this.UpdateSecretPermissionOperationCompleted, userState); + } + + private void OnUpdateSecretPermissionOperationCompleted(object arg) { + if ((this.UpdateSecretPermissionCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.UpdateSecretPermissionCompleted(this, new UpdateSecretPermissionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/CheckInByKey", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult CheckInByKey(string sessionKey) { + object[] results = this.Invoke("CheckInByKey", new object[] { + sessionKey}); + return ((WebServiceResult)(results[0])); + } + + /// + public void CheckInByKeyAsync(string sessionKey) { + this.CheckInByKeyAsync(sessionKey, null); + } + + /// + public void CheckInByKeyAsync(string sessionKey, object userState) { + if ((this.CheckInByKeyOperationCompleted == null)) { + this.CheckInByKeyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckInByKeyOperationCompleted); + } + this.InvokeAsync("CheckInByKey", new object[] { + sessionKey}, this.CheckInByKeyOperationCompleted, userState); + } + + private void OnCheckInByKeyOperationCompleted(object arg) { + if ((this.CheckInByKeyCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.CheckInByKeyCompleted(this, new CheckInByKeyCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/WhoAmI", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public UserInfoResult WhoAmI() { + object[] results = this.Invoke("WhoAmI", new object[0]); + return ((UserInfoResult)(results[0])); + } + + /// + public void WhoAmIAsync() { + this.WhoAmIAsync(null); + } + + /// + public void WhoAmIAsync(object userState) { + if ((this.WhoAmIOperationCompleted == null)) { + this.WhoAmIOperationCompleted = new System.Threading.SendOrPostCallback(this.OnWhoAmIOperationCompleted); + } + this.InvokeAsync("WhoAmI", new object[0], this.WhoAmIOperationCompleted, userState); + } + + private void OnWhoAmIOperationCompleted(object arg) { + if ((this.WhoAmICompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.WhoAmICompleted(this, new WhoAmICompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetAllGroups", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetAllGroupsResult GetAllGroups() { + object[] results = this.Invoke("GetAllGroups", new object[0]); + return ((GetAllGroupsResult)(results[0])); + } + + /// + public void GetAllGroupsAsync() { + this.GetAllGroupsAsync(null); + } + + /// + public void GetAllGroupsAsync(object userState) { + if ((this.GetAllGroupsOperationCompleted == null)) { + this.GetAllGroupsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetAllGroupsOperationCompleted); + } + this.InvokeAsync("GetAllGroups", new object[0], this.GetAllGroupsOperationCompleted, userState); + } + + private void OnGetAllGroupsOperationCompleted(object arg) { + if ((this.GetAllGroupsCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetAllGroupsCompleted(this, new GetAllGroupsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/AssignUserToGroup", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult AssignUserToGroup(int userId, int groupId) { + object[] results = this.Invoke("AssignUserToGroup", new object[] { + userId, + groupId}); + return ((WebServiceResult)(results[0])); + } + + /// + public void AssignUserToGroupAsync(int userId, int groupId) { + this.AssignUserToGroupAsync(userId, groupId, null); + } + + /// + public void AssignUserToGroupAsync(int userId, int groupId, object userState) { + if ((this.AssignUserToGroupOperationCompleted == null)) { + this.AssignUserToGroupOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAssignUserToGroupOperationCompleted); + } + this.InvokeAsync("AssignUserToGroup", new object[] { + userId, + groupId}, this.AssignUserToGroupOperationCompleted, userState); + } + + private void OnAssignUserToGroupOperationCompleted(object arg) { + if ((this.AssignUserToGroupCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AssignUserToGroupCompleted(this, new AssignUserToGroupCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetSSHLoginCredentials", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SSHCredentialsResult GetSSHLoginCredentials(int secretId) { + object[] results = this.Invoke("GetSSHLoginCredentials", new object[] { + secretId}); + return ((SSHCredentialsResult)(results[0])); + } + + /// + public void GetSSHLoginCredentialsAsync(int secretId) { + this.GetSSHLoginCredentialsAsync(secretId, null); + } + + /// + public void GetSSHLoginCredentialsAsync(int secretId, object userState) { + if ((this.GetSSHLoginCredentialsOperationCompleted == null)) { + this.GetSSHLoginCredentialsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSSHLoginCredentialsOperationCompleted); + } + this.InvokeAsync("GetSSHLoginCredentials", new object[] { + secretId}, this.GetSSHLoginCredentialsOperationCompleted, userState); + } + + private void OnGetSSHLoginCredentialsOperationCompleted(object arg) { + if ((this.GetSSHLoginCredentialsCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetSSHLoginCredentialsCompleted(this, new GetSSHLoginCredentialsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetSSHLoginCredentialsWithMachine", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SSHCredentialsResult GetSSHLoginCredentialsWithMachine(int secretId, string machine) { + object[] results = this.Invoke("GetSSHLoginCredentialsWithMachine", new object[] { + secretId, + machine}); + return ((SSHCredentialsResult)(results[0])); + } + + /// + public void GetSSHLoginCredentialsWithMachineAsync(int secretId, string machine) { + this.GetSSHLoginCredentialsWithMachineAsync(secretId, machine, null); + } + + /// + public void GetSSHLoginCredentialsWithMachineAsync(int secretId, string machine, object userState) { + if ((this.GetSSHLoginCredentialsWithMachineOperationCompleted == null)) { + this.GetSSHLoginCredentialsWithMachineOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSSHLoginCredentialsWithMachineOperationCompleted); + } + this.InvokeAsync("GetSSHLoginCredentialsWithMachine", new object[] { + secretId, + machine}, this.GetSSHLoginCredentialsWithMachineOperationCompleted, userState); + } + + private void OnGetSSHLoginCredentialsWithMachineOperationCompleted(object arg) { + if ((this.GetSSHLoginCredentialsWithMachineCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetSSHLoginCredentialsWithMachineCompleted(this, new GetSSHLoginCredentialsWithMachineCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/SearchUsers", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetUsersResult SearchUsers(string searchTerm, bool includeInactiveUsers) { + object[] results = this.Invoke("SearchUsers", new object[] { + searchTerm, + includeInactiveUsers}); + return ((GetUsersResult)(results[0])); + } + + /// + public void SearchUsersAsync(string searchTerm, bool includeInactiveUsers) { + this.SearchUsersAsync(searchTerm, includeInactiveUsers, null); + } + + /// + public void SearchUsersAsync(string searchTerm, bool includeInactiveUsers, object userState) { + if ((this.SearchUsersOperationCompleted == null)) { + this.SearchUsersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSearchUsersOperationCompleted); + } + this.InvokeAsync("SearchUsers", new object[] { + searchTerm, + includeInactiveUsers}, this.SearchUsersOperationCompleted, userState); + } + + private void OnSearchUsersOperationCompleted(object arg) { + if ((this.SearchUsersCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.SearchUsersCompleted(this, new SearchUsersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetUser", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetUserResult GetUser(int userId) { + object[] results = this.Invoke("GetUser", new object[] { + userId}); + return ((GetUserResult)(results[0])); + } + + /// + public void GetUserAsync(int userId) { + this.GetUserAsync(userId, null); + } + + /// + public void GetUserAsync(int userId, object userState) { + if ((this.GetUserOperationCompleted == null)) { + this.GetUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetUserOperationCompleted); + } + this.InvokeAsync("GetUser", new object[] { + userId}, this.GetUserOperationCompleted, userState); + } + + private void OnGetUserOperationCompleted(object arg) { + if ((this.GetUserCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetUserCompleted(this, new GetUserCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/UpdateUser", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public UpdateUserResult UpdateUser(User user) { + object[] results = this.Invoke("UpdateUser", new object[] { + user}); + return ((UpdateUserResult)(results[0])); + } + + /// + public void UpdateUserAsync(User user) { + this.UpdateUserAsync(user, null); + } + + /// + public void UpdateUserAsync(User user, object userState) { + if ((this.UpdateUserOperationCompleted == null)) { + this.UpdateUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateUserOperationCompleted); + } + this.InvokeAsync("UpdateUser", new object[] { + user}, this.UpdateUserOperationCompleted, userState); + } + + private void OnUpdateUserOperationCompleted(object arg) { + if ((this.UpdateUserCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.UpdateUserCompleted(this, new UpdateUserCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetSecretItemHistoryByFieldName", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SecretItemHistoryResult GetSecretItemHistoryByFieldName(int secretId, string fieldDisplayName) { + object[] results = this.Invoke("GetSecretItemHistoryByFieldName", new object[] { + secretId, + fieldDisplayName}); + return ((SecretItemHistoryResult)(results[0])); + } + + /// + public void GetSecretItemHistoryByFieldNameAsync(int secretId, string fieldDisplayName) { + this.GetSecretItemHistoryByFieldNameAsync(secretId, fieldDisplayName, null); + } + + /// + public void GetSecretItemHistoryByFieldNameAsync(int secretId, string fieldDisplayName, object userState) { + if ((this.GetSecretItemHistoryByFieldNameOperationCompleted == null)) { + this.GetSecretItemHistoryByFieldNameOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSecretItemHistoryByFieldNameOperationCompleted); + } + this.InvokeAsync("GetSecretItemHistoryByFieldName", new object[] { + secretId, + fieldDisplayName}, this.GetSecretItemHistoryByFieldNameOperationCompleted, userState); + } + + private void OnGetSecretItemHistoryByFieldNameOperationCompleted(object arg) { + if ((this.GetSecretItemHistoryByFieldNameCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetSecretItemHistoryByFieldNameCompleted(this, new GetSecretItemHistoryByFieldNameCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetSecretPolicyForSecret", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SecretPolicyForSecretResult GetSecretPolicyForSecret(int secretId) { + object[] results = this.Invoke("GetSecretPolicyForSecret", new object[] { + secretId}); + return ((SecretPolicyForSecretResult)(results[0])); + } + + /// + public void GetSecretPolicyForSecretAsync(int secretId) { + this.GetSecretPolicyForSecretAsync(secretId, null); + } + + /// + public void GetSecretPolicyForSecretAsync(int secretId, object userState) { + if ((this.GetSecretPolicyForSecretOperationCompleted == null)) { + this.GetSecretPolicyForSecretOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSecretPolicyForSecretOperationCompleted); + } + this.InvokeAsync("GetSecretPolicyForSecret", new object[] { + secretId}, this.GetSecretPolicyForSecretOperationCompleted, userState); + } + + private void OnGetSecretPolicyForSecretOperationCompleted(object arg) { + if ((this.GetSecretPolicyForSecretCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetSecretPolicyForSecretCompleted(this, new GetSecretPolicyForSecretCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/AssignSecretPolicyForSecret", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SecretPolicyForSecretResult AssignSecretPolicyForSecret(SecretPolicyForSecret secretPolicyForSecret) { + object[] results = this.Invoke("AssignSecretPolicyForSecret", new object[] { + secretPolicyForSecret}); + return ((SecretPolicyForSecretResult)(results[0])); + } + + /// + public void AssignSecretPolicyForSecretAsync(SecretPolicyForSecret secretPolicyForSecret) { + this.AssignSecretPolicyForSecretAsync(secretPolicyForSecret, null); + } + + /// + public void AssignSecretPolicyForSecretAsync(SecretPolicyForSecret secretPolicyForSecret, object userState) { + if ((this.AssignSecretPolicyForSecretOperationCompleted == null)) { + this.AssignSecretPolicyForSecretOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAssignSecretPolicyForSecretOperationCompleted); + } + this.InvokeAsync("AssignSecretPolicyForSecret", new object[] { + secretPolicyForSecret}, this.AssignSecretPolicyForSecretOperationCompleted, userState); + } + + private void OnAssignSecretPolicyForSecretOperationCompleted(object arg) { + if ((this.AssignSecretPolicyForSecretCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AssignSecretPolicyForSecretCompleted(this, new AssignSecretPolicyForSecretCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/SearchSecretPolicies", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SearchSecretPoliciesResult SearchSecretPolicies(string term, bool includeInactive) { + object[] results = this.Invoke("SearchSecretPolicies", new object[] { + term, + includeInactive}); + return ((SearchSecretPoliciesResult)(results[0])); + } + + /// + public void SearchSecretPoliciesAsync(string term, bool includeInactive) { + this.SearchSecretPoliciesAsync(term, includeInactive, null); + } + + /// + public void SearchSecretPoliciesAsync(string term, bool includeInactive, object userState) { + if ((this.SearchSecretPoliciesOperationCompleted == null)) { + this.SearchSecretPoliciesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSearchSecretPoliciesOperationCompleted); + } + this.InvokeAsync("SearchSecretPolicies", new object[] { + term, + includeInactive}, this.SearchSecretPoliciesOperationCompleted, userState); + } + + private void OnSearchSecretPoliciesOperationCompleted(object arg) { + if ((this.SearchSecretPoliciesCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.SearchSecretPoliciesCompleted(this, new SearchSecretPoliciesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/RunActiveDirectorySynchronization", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult RunActiveDirectorySynchronization() { + object[] results = this.Invoke("RunActiveDirectorySynchronization", new object[0]); + return ((WebServiceResult)(results[0])); + } + + /// + public void RunActiveDirectorySynchronizationAsync() { + this.RunActiveDirectorySynchronizationAsync(null); + } + + /// + public void RunActiveDirectorySynchronizationAsync(object userState) { + if ((this.RunActiveDirectorySynchronizationOperationCompleted == null)) { + this.RunActiveDirectorySynchronizationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRunActiveDirectorySynchronizationOperationCompleted); + } + this.InvokeAsync("RunActiveDirectorySynchronization", new object[0], this.RunActiveDirectorySynchronizationOperationCompleted, userState); + } + + private void OnRunActiveDirectorySynchronizationOperationCompleted(object arg) { + if ((this.RunActiveDirectorySynchronizationCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.RunActiveDirectorySynchronizationCompleted(this, new RunActiveDirectorySynchronizationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/AddGroupToActiveDirectorySynchronization", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult AddGroupToActiveDirectorySynchronization(AddGroupRequestMessage groupRequestMessage) { + object[] results = this.Invoke("AddGroupToActiveDirectorySynchronization", new object[] { + groupRequestMessage}); + return ((WebServiceResult)(results[0])); + } + + /// + public void AddGroupToActiveDirectorySynchronizationAsync(AddGroupRequestMessage groupRequestMessage) { + this.AddGroupToActiveDirectorySynchronizationAsync(groupRequestMessage, null); + } + + /// + public void AddGroupToActiveDirectorySynchronizationAsync(AddGroupRequestMessage groupRequestMessage, object userState) { + if ((this.AddGroupToActiveDirectorySynchronizationOperationCompleted == null)) { + this.AddGroupToActiveDirectorySynchronizationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddGroupToActiveDirectorySynchronizationOperationCompleted); + } + this.InvokeAsync("AddGroupToActiveDirectorySynchronization", new object[] { + groupRequestMessage}, this.AddGroupToActiveDirectorySynchronizationOperationCompleted, userState); + } + + private void OnAddGroupToActiveDirectorySynchronizationOperationCompleted(object arg) { + if ((this.AddGroupToActiveDirectorySynchronizationCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AddGroupToActiveDirectorySynchronizationCompleted(this, new AddGroupToActiveDirectorySynchronizationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/AddSecretPolicy", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SecretPolicyResult AddSecretPolicy(SecretPolicyDetail secretPolicy) { + object[] results = this.Invoke("AddSecretPolicy", new object[] { + secretPolicy}); + return ((SecretPolicyResult)(results[0])); + } + + /// + public void AddSecretPolicyAsync(SecretPolicyDetail secretPolicy) { + this.AddSecretPolicyAsync(secretPolicy, null); + } + + /// + public void AddSecretPolicyAsync(SecretPolicyDetail secretPolicy, object userState) { + if ((this.AddSecretPolicyOperationCompleted == null)) { + this.AddSecretPolicyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddSecretPolicyOperationCompleted); + } + this.InvokeAsync("AddSecretPolicy", new object[] { + secretPolicy}, this.AddSecretPolicyOperationCompleted, userState); + } + + private void OnAddSecretPolicyOperationCompleted(object arg) { + if ((this.AddSecretPolicyCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AddSecretPolicyCompleted(this, new AddSecretPolicyCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetNewSecretPolicy", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SecretPolicyResult GetNewSecretPolicy() { + object[] results = this.Invoke("GetNewSecretPolicy", new object[0]); + return ((SecretPolicyResult)(results[0])); + } + + /// + public void GetNewSecretPolicyAsync() { + this.GetNewSecretPolicyAsync(null); + } + + /// + public void GetNewSecretPolicyAsync(object userState) { + if ((this.GetNewSecretPolicyOperationCompleted == null)) { + this.GetNewSecretPolicyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetNewSecretPolicyOperationCompleted); + } + this.InvokeAsync("GetNewSecretPolicy", new object[0], this.GetNewSecretPolicyOperationCompleted, userState); + } + + private void OnGetNewSecretPolicyOperationCompleted(object arg) { + if ((this.GetNewSecretPolicyCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetNewSecretPolicyCompleted(this, new GetNewSecretPolicyCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetSSHCommandMenu", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetSshCommandMenuResult GetSSHCommandMenu(int sshCommandMenuId) { + object[] results = this.Invoke("GetSSHCommandMenu", new object[] { + sshCommandMenuId}); + return ((GetSshCommandMenuResult)(results[0])); + } + + /// + public void GetSSHCommandMenuAsync(int sshCommandMenuId) { + this.GetSSHCommandMenuAsync(sshCommandMenuId, null); + } + + /// + public void GetSSHCommandMenuAsync(int sshCommandMenuId, object userState) { + if ((this.GetSSHCommandMenuOperationCompleted == null)) { + this.GetSSHCommandMenuOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSSHCommandMenuOperationCompleted); + } + this.InvokeAsync("GetSSHCommandMenu", new object[] { + sshCommandMenuId}, this.GetSSHCommandMenuOperationCompleted, userState); + } + + private void OnGetSSHCommandMenuOperationCompleted(object arg) { + if ((this.GetSSHCommandMenuCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetSSHCommandMenuCompleted(this, new GetSSHCommandMenuCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/SaveSSHCommandMenu", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetSshCommandMenuResult SaveSSHCommandMenu(SshCommandMenu sshCommandMenu, string commandsText, bool deleteCommands) { + object[] results = this.Invoke("SaveSSHCommandMenu", new object[] { + sshCommandMenu, + commandsText, + deleteCommands}); + return ((GetSshCommandMenuResult)(results[0])); + } + + /// + public void SaveSSHCommandMenuAsync(SshCommandMenu sshCommandMenu, string commandsText, bool deleteCommands) { + this.SaveSSHCommandMenuAsync(sshCommandMenu, commandsText, deleteCommands, null); + } + + /// + public void SaveSSHCommandMenuAsync(SshCommandMenu sshCommandMenu, string commandsText, bool deleteCommands, object userState) { + if ((this.SaveSSHCommandMenuOperationCompleted == null)) { + this.SaveSSHCommandMenuOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSaveSSHCommandMenuOperationCompleted); + } + this.InvokeAsync("SaveSSHCommandMenu", new object[] { + sshCommandMenu, + commandsText, + deleteCommands}, this.SaveSSHCommandMenuOperationCompleted, userState); + } + + private void OnSaveSSHCommandMenuOperationCompleted(object arg) { + if ((this.SaveSSHCommandMenuCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.SaveSSHCommandMenuCompleted(this, new SaveSSHCommandMenuCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetAllSSHCommandMenus", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetSshCommandMenusResult GetAllSSHCommandMenus([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] System.Nullable includeInactive) { + object[] results = this.Invoke("GetAllSSHCommandMenus", new object[] { + includeInactive}); + return ((GetSshCommandMenusResult)(results[0])); + } + + /// + public void GetAllSSHCommandMenusAsync(System.Nullable includeInactive) { + this.GetAllSSHCommandMenusAsync(includeInactive, null); + } + + /// + public void GetAllSSHCommandMenusAsync(System.Nullable includeInactive, object userState) { + if ((this.GetAllSSHCommandMenusOperationCompleted == null)) { + this.GetAllSSHCommandMenusOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetAllSSHCommandMenusOperationCompleted); + } + this.InvokeAsync("GetAllSSHCommandMenus", new object[] { + includeInactive}, this.GetAllSSHCommandMenusOperationCompleted, userState); + } + + private void OnGetAllSSHCommandMenusOperationCompleted(object arg) { + if ((this.GetAllSSHCommandMenusCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetAllSSHCommandMenusCompleted(this, new GetAllSSHCommandMenusCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/DeleteSSHCommandMenu", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult DeleteSSHCommandMenu(int sshCommandMenuId) { + object[] results = this.Invoke("DeleteSSHCommandMenu", new object[] { + sshCommandMenuId}); + return ((WebServiceResult)(results[0])); + } + + /// + public void DeleteSSHCommandMenuAsync(int sshCommandMenuId) { + this.DeleteSSHCommandMenuAsync(sshCommandMenuId, null); + } + + /// + public void DeleteSSHCommandMenuAsync(int sshCommandMenuId, object userState) { + if ((this.DeleteSSHCommandMenuOperationCompleted == null)) { + this.DeleteSSHCommandMenuOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteSSHCommandMenuOperationCompleted); + } + this.InvokeAsync("DeleteSSHCommandMenu", new object[] { + sshCommandMenuId}, this.DeleteSSHCommandMenuOperationCompleted, userState); + } + + private void OnDeleteSSHCommandMenuOperationCompleted(object arg) { + if ((this.DeleteSSHCommandMenuCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.DeleteSSHCommandMenuCompleted(this, new DeleteSSHCommandMenuCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/RestoreSSHCommandMenu", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult RestoreSSHCommandMenu(int sshCommandMenuId) { + object[] results = this.Invoke("RestoreSSHCommandMenu", new object[] { + sshCommandMenuId}); + return ((WebServiceResult)(results[0])); + } + + /// + public void RestoreSSHCommandMenuAsync(int sshCommandMenuId) { + this.RestoreSSHCommandMenuAsync(sshCommandMenuId, null); + } + + /// + public void RestoreSSHCommandMenuAsync(int sshCommandMenuId, object userState) { + if ((this.RestoreSSHCommandMenuOperationCompleted == null)) { + this.RestoreSSHCommandMenuOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRestoreSSHCommandMenuOperationCompleted); + } + this.InvokeAsync("RestoreSSHCommandMenu", new object[] { + sshCommandMenuId}, this.RestoreSSHCommandMenuOperationCompleted, userState); + } + + private void OnRestoreSSHCommandMenuOperationCompleted(object arg) { + if ((this.RestoreSSHCommandMenuCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.RestoreSSHCommandMenuCompleted(this, new RestoreSSHCommandMenuCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/ValidateTwoFactor", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult ValidateTwoFactor(string pinCode) { + object[] results = this.Invoke("ValidateTwoFactor", new object[] { + pinCode}); + return ((WebServiceResult)(results[0])); + } + + /// + public void ValidateTwoFactorAsync(string pinCode) { + this.ValidateTwoFactorAsync(pinCode, null); + } + + /// + public void ValidateTwoFactorAsync(string pinCode, object userState) { + if ((this.ValidateTwoFactorOperationCompleted == null)) { + this.ValidateTwoFactorOperationCompleted = new System.Threading.SendOrPostCallback(this.OnValidateTwoFactorOperationCompleted); + } + this.InvokeAsync("ValidateTwoFactor", new object[] { + pinCode}, this.ValidateTwoFactorOperationCompleted, userState); + } + + private void OnValidateTwoFactorOperationCompleted(object arg) { + if ((this.ValidateTwoFactorCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.ValidateTwoFactorCompleted(this, new ValidateTwoFactorCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetReport", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetReportResult GetReport(GetReportRequest reportRequest) { + object[] results = this.Invoke("GetReport", new object[] { + reportRequest}); + return ((GetReportResult)(results[0])); + } + + /// + public void GetReportAsync(GetReportRequest reportRequest) { + this.GetReportAsync(reportRequest, null); + } + + /// + public void GetReportAsync(GetReportRequest reportRequest, object userState) { + if ((this.GetReportOperationCompleted == null)) { + this.GetReportOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetReportOperationCompleted); + } + this.InvokeAsync("GetReport", new object[] { + reportRequest}, this.GetReportOperationCompleted, userState); + } + + private void OnGetReportOperationCompleted(object arg) { + if ((this.GetReportCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetReportCompleted(this, new GetReportCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/AddScript", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebServiceResult AddScript(UserScript newUserScript) { + object[] results = this.Invoke("AddScript", new object[] { + newUserScript}); + return ((WebServiceResult)(results[0])); + } + + /// + public void AddScriptAsync(UserScript newUserScript) { + this.AddScriptAsync(newUserScript, null); + } + + /// + public void AddScriptAsync(UserScript newUserScript, object userState) { + if ((this.AddScriptOperationCompleted == null)) { + this.AddScriptOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddScriptOperationCompleted); + } + this.InvokeAsync("AddScript", new object[] { + newUserScript}, this.AddScriptOperationCompleted, userState); + } + + private void OnAddScriptOperationCompleted(object arg) { + if ((this.AddScriptCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AddScriptCompleted(this, new AddScriptCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetAllScripts", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetUserScriptsResult GetAllScripts(bool includeInactiveUserScripts) { + object[] results = this.Invoke("GetAllScripts", new object[] { + includeInactiveUserScripts}); + return ((GetUserScriptsResult)(results[0])); + } + + /// + public void GetAllScriptsAsync(bool includeInactiveUserScripts) { + this.GetAllScriptsAsync(includeInactiveUserScripts, null); + } + + /// + public void GetAllScriptsAsync(bool includeInactiveUserScripts, object userState) { + if ((this.GetAllScriptsOperationCompleted == null)) { + this.GetAllScriptsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetAllScriptsOperationCompleted); + } + this.InvokeAsync("GetAllScripts", new object[] { + includeInactiveUserScripts}, this.GetAllScriptsOperationCompleted, userState); + } + + private void OnGetAllScriptsOperationCompleted(object arg) { + if ((this.GetAllScriptsCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetAllScriptsCompleted(this, new GetAllScriptsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/GetScript", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GetUserScriptResult GetScript(int userScriptId) { + object[] results = this.Invoke("GetScript", new object[] { + userScriptId}); + return ((GetUserScriptResult)(results[0])); + } + + /// + public void GetScriptAsync(int userScriptId) { + this.GetScriptAsync(userScriptId, null); + } + + /// + public void GetScriptAsync(int userScriptId, object userState) { + if ((this.GetScriptOperationCompleted == null)) { + this.GetScriptOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetScriptOperationCompleted); + } + this.InvokeAsync("GetScript", new object[] { + userScriptId}, this.GetScriptOperationCompleted, userState); + } + + private void OnGetScriptOperationCompleted(object arg) { + if ((this.GetScriptCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetScriptCompleted(this, new GetScriptCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:thesecretserver.com/UpdateScript", RequestNamespace="urn:thesecretserver.com", ResponseNamespace="urn:thesecretserver.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public UpdateUserScriptResult UpdateScript(UserScript userScript) { + object[] results = this.Invoke("UpdateScript", new object[] { + userScript}); + return ((UpdateUserScriptResult)(results[0])); + } + + /// + public void UpdateScriptAsync(UserScript userScript) { + this.UpdateScriptAsync(userScript, null); + } + + /// + public void UpdateScriptAsync(UserScript userScript, object userState) { + if ((this.UpdateScriptOperationCompleted == null)) { + this.UpdateScriptOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateScriptOperationCompleted); + } + this.InvokeAsync("UpdateScript", new object[] { + userScript}, this.UpdateScriptOperationCompleted, userState); + } + + private void OnUpdateScriptOperationCompleted(object arg) { + if ((this.UpdateScriptCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.UpdateScriptCompleted(this, new UpdateScriptCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + 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; + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class RequestApprovalResult : GenericResult { + + private ApprovalInfo approvalInfoField; + + /// + public ApprovalInfo ApprovalInfo { + get { + return this.approvalInfoField; + } + set { + this.approvalInfoField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class ApprovalInfo { + + private AccessRequestState statusField; + + private string responderField; + + private System.DateTime responseDateField; + + private string responseCommentField; + + private System.Nullable expirationDateField; + + private bool canOverrideField; + + /// + public AccessRequestState Status { + get { + return this.statusField; + } + set { + this.statusField = value; + } + } + + /// + public string Responder { + get { + return this.responderField; + } + set { + this.responderField = value; + } + } + + /// + public System.DateTime ResponseDate { + get { + return this.responseDateField; + } + set { + this.responseDateField = value; + } + } + + /// + public string ResponseComment { + get { + return this.responseCommentField; + } + set { + this.responseCommentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable ExpirationDate { + get { + return this.expirationDateField; + } + set { + this.expirationDateField = value; + } + } + + /// + public bool CanOverride { + get { + return this.canOverrideField; + } + set { + this.canOverrideField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public enum AccessRequestState { + + /// + WaitingForRequest, + + /// + Pending, + + /// + Approved, + + /// + Denied, + + /// + Canceled, + + /// + Expired, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SshScriptArgument2 { + + private string nameField; + + private string valueField; + + private SshArgumentType2 sshTypeField; + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public string Value { + get { + return this.valueField; + } + set { + this.valueField = value; + } + } + + /// + public SshArgumentType2 SshType { + get { + return this.sshTypeField; + } + set { + this.sshTypeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public enum SshArgumentType2 { + + /// + Interpreted, + + /// + Literal, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class AdditionalDataSshObject { + + private string portField; + + private LineEnding lineEndingField; + + private bool doNotUseEnvironmentField; + + private SshScriptArgument2[] paramsField; + + private int versionField; + + /// + public string Port { + get { + return this.portField; + } + set { + this.portField = value; + } + } + + /// + public LineEnding LineEnding { + get { + return this.lineEndingField; + } + set { + this.lineEndingField = value; + } + } + + /// + public bool DoNotUseEnvironment { + get { + return this.doNotUseEnvironmentField; + } + set { + this.doNotUseEnvironmentField = value; + } + } + + /// + public SshScriptArgument2[] Params { + get { + return this.paramsField; + } + set { + this.paramsField = value; + } + } + + /// + public int Version { + get { + return this.versionField; + } + set { + this.versionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public enum LineEnding { + + /// + NewLine, + + /// + CarriageReturn, + + /// + CarriageReturnNewLine, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetReportResult { + + private string[] errorsField; + + private System.Data.DataTable reportField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public System.Data.DataTable Report { + get { + return this.reportField; + } + set { + this.reportField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class DualControlApproval { + + private string usernameField; + + private string passwordField; + + private System.Nullable domainIdField; + + private string twoFactorField; + + /// + public string Username { + get { + return this.usernameField; + } + set { + this.usernameField = value; + } + } + + /// + public string Password { + get { + return this.passwordField; + } + set { + this.passwordField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable DomainId { + get { + return this.domainIdField; + } + set { + this.domainIdField = value; + } + } + + /// + public string TwoFactor { + get { + return this.twoFactorField; + } + set { + this.twoFactorField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class ReportParameter { + + private string nameField; + + private string valueField; + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public string Value { + get { + return this.valueField; + } + set { + this.valueField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetReportRequest { + + private System.Nullable reportIdField; + + private string reportNameField; + + private ReportParameter[] parametersField; + + private DualControlApproval dualControlApprovalField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable reportId { + get { + return this.reportIdField; + } + set { + this.reportIdField = value; + } + } + + /// + public string reportName { + get { + return this.reportNameField; + } + set { + this.reportNameField = value; + } + } + + /// + public ReportParameter[] parameters { + get { + return this.parametersField; + } + set { + this.parametersField = value; + } + } + + /// + public DualControlApproval dualControlApproval { + get { + return this.dualControlApprovalField; + } + set { + this.dualControlApprovalField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetSshCommandMenusResult { + + private SshCommandMenu[] sshCommandMenusField; + + private string[] errorsField; + + /// + public SshCommandMenu[] SshCommandMenus { + get { + return this.sshCommandMenusField; + } + set { + this.sshCommandMenusField = value; + } + } + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SshCommandMenu { + + private int sshCommandMenuIdField; + + private string nameField; + + private bool activeField; + + private string descriptionField; + + /// + public int SshCommandMenuId { + get { + return this.sshCommandMenuIdField; + } + set { + this.sshCommandMenuIdField = value; + } + } + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public bool Active { + get { + return this.activeField; + } + set { + this.activeField = value; + } + } + + /// + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetSshCommandMenuResult { + + private SshCommandMenu sshCommandMenuField; + + private string sshCommandsField; + + private string[] errorsField; + + /// + public SshCommandMenu SshCommandMenu { + get { + return this.sshCommandMenuField; + } + set { + this.sshCommandMenuField = value; + } + } + + /// + public string SshCommands { + get { + return this.sshCommandsField; + } + set { + this.sshCommandsField = value; + } + } + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class AddGroupRequestMessage { + + private string groupNameField; + + private System.Nullable domainIdField; + + private string domainNameField; + + /// + public string GroupName { + get { + return this.groupNameField; + } + set { + this.groupNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable DomainId { + get { + return this.domainIdField; + } + set { + this.domainIdField = value; + } + } + + /// + public string DomainName { + get { + return this.domainNameField; + } + set { + this.domainNameField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretItemHistoryWebServiceResult { + + private int secretItemHistoryIdField; + + private int userIdField; + + private int secretItemIdField; + + private int secretIdField; + + private System.DateTime dateField; + + private string itemValueNewField; + + private string itemValueNew2Field; + + /// + public int SecretItemHistoryId { + get { + return this.secretItemHistoryIdField; + } + set { + this.secretItemHistoryIdField = value; + } + } + + /// + public int UserId { + get { + return this.userIdField; + } + set { + this.userIdField = value; + } + } + + /// + public int SecretItemId { + get { + return this.secretItemIdField; + } + set { + this.secretItemIdField = value; + } + } + + /// + public int SecretId { + get { + return this.secretIdField; + } + set { + this.secretIdField = value; + } + } + + /// + public System.DateTime Date { + get { + return this.dateField; + } + set { + this.dateField = value; + } + } + + /// + public string ItemValueNew { + get { + return this.itemValueNewField; + } + set { + this.itemValueNewField = value; + } + } + + /// + public string ItemValueNew2 { + get { + return this.itemValueNew2Field; + } + set { + this.itemValueNew2Field = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretItemHistoryResult { + + private string[] errorsField; + + private bool successField; + + private SecretItemHistoryWebServiceResult[] secretItemHistoriesField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public bool Success { + get { + return this.successField; + } + set { + this.successField = value; + } + } + + /// + public SecretItemHistoryWebServiceResult[] SecretItemHistories { + get { + return this.secretItemHistoriesField; + } + set { + this.secretItemHistoriesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class UpdateUserResult { + + private User userField; + + private string[] errorsField; + + /// + public User User { + get { + return this.userField; + } + set { + this.userField = value; + } + } + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class User { + + private System.Nullable idField; + + private string userNameField; + + private string displayNameField; + + private System.Nullable domainIdField; + + private bool isApplicationAccountField; + + private bool radiusTwoFactorField; + + private bool emailTwoFactorField; + + private string radiusUserNameField; + + private string emailAddressField; + + private string passwordField; + + private bool enabledField; + + private bool duoTwoFactorField; + + private bool oATHTwoFactorField; + + private bool fido2TwoFactorField; + + private int unixAuthenticationMethodField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable Id { + get { + return this.idField; + } + set { + this.idField = value; + } + } + + /// + public string UserName { + get { + return this.userNameField; + } + set { + this.userNameField = value; + } + } + + /// + public string DisplayName { + get { + return this.displayNameField; + } + set { + this.displayNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable DomainId { + get { + return this.domainIdField; + } + set { + this.domainIdField = value; + } + } + + /// + public bool IsApplicationAccount { + get { + return this.isApplicationAccountField; + } + set { + this.isApplicationAccountField = value; + } + } + + /// + public bool RadiusTwoFactor { + get { + return this.radiusTwoFactorField; + } + set { + this.radiusTwoFactorField = value; + } + } + + /// + public bool EmailTwoFactor { + get { + return this.emailTwoFactorField; + } + set { + this.emailTwoFactorField = value; + } + } + + /// + public string RadiusUserName { + get { + return this.radiusUserNameField; + } + set { + this.radiusUserNameField = value; + } + } + + /// + public string EmailAddress { + get { + return this.emailAddressField; + } + set { + this.emailAddressField = value; + } + } + + /// + public string Password { + get { + return this.passwordField; + } + set { + this.passwordField = value; + } + } + + /// + public bool Enabled { + get { + return this.enabledField; + } + set { + this.enabledField = value; + } + } + + /// + public bool DuoTwoFactor { + get { + return this.duoTwoFactorField; + } + set { + this.duoTwoFactorField = value; + } + } + + /// + public bool OATHTwoFactor { + get { + return this.oATHTwoFactorField; + } + set { + this.oATHTwoFactorField = value; + } + } + + /// + public bool Fido2TwoFactor { + get { + return this.fido2TwoFactorField; + } + set { + this.fido2TwoFactorField = value; + } + } + + /// + public int UnixAuthenticationMethod { + get { + return this.unixAuthenticationMethodField; + } + set { + this.unixAuthenticationMethodField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetUserResult { + + private User userField; + + private string[] errorsField; + + /// + public User User { + get { + return this.userField; + } + set { + this.userField = value; + } + } + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetUsersResult { + + private User[] usersField; + + private string[] errorsField; + + /// + public User[] Users { + get { + return this.usersField; + } + set { + this.usersField = value; + } + } + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class Group { + + private int idField; + + private string nameField; + + private int domainIdField; + + private string domainNameField; + + /// + public int Id { + get { + return this.idField; + } + set { + this.idField = value; + } + } + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public int DomainId { + get { + return this.domainIdField; + } + set { + this.domainIdField = value; + } + } + + /// + public string DomainName { + get { + return this.domainNameField; + } + set { + this.domainNameField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetAllGroupsResult { + + private string[] errorsField; + + private Group[] groupsField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public Group[] Groups { + get { + return this.groupsField; + } + set { + this.groupsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class UserInfoResult { + + private string[] errorsField; + + private string displayNameField; + + private string userNameField; + + private string knownAsField; + + private int userIdField; + + private int domainIdField; + + private string domainNameField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public string DisplayName { + get { + return this.displayNameField; + } + set { + this.displayNameField = value; + } + } + + /// + public string UserName { + get { + return this.userNameField; + } + set { + this.userNameField = value; + } + } + + /// + public string KnownAs { + get { + return this.knownAsField; + } + set { + this.knownAsField = value; + } + } + + /// + public int UserId { + get { + return this.userIdField; + } + set { + this.userIdField = value; + } + } + + /// + public int DomainId { + get { + return this.domainIdField; + } + set { + this.domainIdField = value; + } + } + + /// + public string DomainName { + get { + return this.domainNameField; + } + set { + this.domainNameField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class TicketSystem { + + private int ticketSystemIdField; + + private string nameField; + + private string descriptionField; + + private bool isDefaultField; + + /// + public int TicketSystemId { + get { + return this.ticketSystemIdField; + } + set { + this.ticketSystemIdField = value; + } + } + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + } + } + + /// + public bool IsDefault { + get { + return this.isDefaultField; + } + set { + this.isDefaultField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetTicketSystemsResult { + + private TicketSystem[] ticketSystemsField; + + private string[] errorsField; + + private bool successField; + + /// + public TicketSystem[] TicketSystems { + get { + return this.ticketSystemsField; + } + set { + this.ticketSystemsField = value; + } + } + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public bool Success { + get { + return this.successField; + } + set { + this.successField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SiteConnector { + + private int siteConnectorIdField; + + private string siteConnectorNameField; + + private string queueTypeField; + + private string hostNameField; + + private int portField; + + private bool activeField; + + private bool validatedField; + + private bool useSslField; + + private string sslCertificateThumbprintField; + + private System.DateTime lastModifiedDateField; + + private string userNameField; + + private byte[] passwordIVField; + + private string versionField; + + /// + public int SiteConnectorId { + get { + return this.siteConnectorIdField; + } + set { + this.siteConnectorIdField = value; + } + } + + /// + public string SiteConnectorName { + get { + return this.siteConnectorNameField; + } + set { + this.siteConnectorNameField = value; + } + } + + /// + public string QueueType { + get { + return this.queueTypeField; + } + set { + this.queueTypeField = value; + } + } + + /// + public string HostName { + get { + return this.hostNameField; + } + set { + this.hostNameField = value; + } + } + + /// + public int Port { + get { + return this.portField; + } + set { + this.portField = value; + } + } + + /// + public bool Active { + get { + return this.activeField; + } + set { + this.activeField = value; + } + } + + /// + public bool Validated { + get { + return this.validatedField; + } + set { + this.validatedField = value; + } + } + + /// + public bool UseSsl { + get { + return this.useSslField; + } + set { + this.useSslField = value; + } + } + + /// + public string SslCertificateThumbprint { + get { + return this.sslCertificateThumbprintField; + } + set { + this.sslCertificateThumbprintField = value; + } + } + + /// + public System.DateTime LastModifiedDate { + get { + return this.lastModifiedDateField; + } + set { + this.lastModifiedDateField = value; + } + } + + /// + public string UserName { + get { + return this.userNameField; + } + set { + this.userNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] + public byte[] PasswordIV { + get { + return this.passwordIVField; + } + set { + this.passwordIVField = value; + } + } + + /// + public string Version { + get { + return this.versionField; + } + set { + this.versionField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(Site))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class AuditAsOfSiteLog { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class Site : AuditAsOfSiteLog { + + private int siteIdField; + + private int organizationIdField; + + private string symmetricKeyField; + + private byte[] symmetricKeyIVField; + + private byte[] initializationVectorField; + + private string siteNameField; + + private bool activeField; + + private int heartbeatIntervalField; + + private bool useWebSiteField; + + private bool systemSiteField; + + private bool enableSshProxyField; + + private System.Nullable sshProxyPortField; + + private bool enableRDPProxyField; + + private System.Nullable rdpProxyPortField; + + private System.Nullable secretIdField; + + private System.DateTime lastModifiedDateField; + + private string winRMEndpointField; + + private System.Nullable enableCredSSPForWinRMField; + + private int siteConnectorIdField; + + private SiteConnector siteConnectorField; + + private string customAuditActionField; + + /// + public int SiteId { + get { + return this.siteIdField; + } + set { + this.siteIdField = value; + } + } + + /// + public int OrganizationId { + get { + return this.organizationIdField; + } + set { + this.organizationIdField = value; + } + } + + /// + public string SymmetricKey { + get { + return this.symmetricKeyField; + } + set { + this.symmetricKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] + public byte[] SymmetricKeyIV { + get { + return this.symmetricKeyIVField; + } + set { + this.symmetricKeyIVField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] + public byte[] InitializationVector { + get { + return this.initializationVectorField; + } + set { + this.initializationVectorField = value; + } + } + + /// + public string SiteName { + get { + return this.siteNameField; + } + set { + this.siteNameField = value; + } + } + + /// + public bool Active { + get { + return this.activeField; + } + set { + this.activeField = value; + } + } + + /// + public int HeartbeatInterval { + get { + return this.heartbeatIntervalField; + } + set { + this.heartbeatIntervalField = value; + } + } + + /// + public bool UseWebSite { + get { + return this.useWebSiteField; + } + set { + this.useWebSiteField = value; + } + } + + /// + public bool SystemSite { + get { + return this.systemSiteField; + } + set { + this.systemSiteField = value; + } + } + + /// + public bool EnableSshProxy { + get { + return this.enableSshProxyField; + } + set { + this.enableSshProxyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable SshProxyPort { + get { + return this.sshProxyPortField; + } + set { + this.sshProxyPortField = value; + } + } + + /// + public bool EnableRDPProxy { + get { + return this.enableRDPProxyField; + } + set { + this.enableRDPProxyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable RdpProxyPort { + get { + return this.rdpProxyPortField; + } + set { + this.rdpProxyPortField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable SecretId { + get { + return this.secretIdField; + } + set { + this.secretIdField = value; + } + } + + /// + public System.DateTime LastModifiedDate { + get { + return this.lastModifiedDateField; + } + set { + this.lastModifiedDateField = value; + } + } + + /// + public string WinRMEndpoint { + get { + return this.winRMEndpointField; + } + set { + this.winRMEndpointField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable EnableCredSSPForWinRM { + get { + return this.enableCredSSPForWinRMField; + } + set { + this.enableCredSSPForWinRMField = value; + } + } + + /// + public int SiteConnectorId { + get { + return this.siteConnectorIdField; + } + set { + this.siteConnectorIdField = value; + } + } + + /// + public SiteConnector SiteConnector { + get { + return this.siteConnectorField; + } + set { + this.siteConnectorField = value; + } + } + + /// + public string CustomAuditAction { + get { + return this.customAuditActionField; + } + set { + this.customAuditActionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetSitesResult { + + private Site[] sitesField; + + private string[] errorsField; + + private bool successField; + + /// + public Site[] Sites { + get { + return this.sitesField; + } + set { + this.sitesField = value; + } + } + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public bool Success { + get { + return this.successField; + } + set { + this.successField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetDependencyGroupsResult { + + private DependencyGroup[] dependencyGroupsField; + + private string[] errorsField; + + private bool successField; + + /// + public DependencyGroup[] DependencyGroups { + get { + return this.dependencyGroupsField; + } + set { + this.dependencyGroupsField = value; + } + } + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public bool Success { + get { + return this.successField; + } + set { + this.successField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class DependencyGroup { + + private int secretDependencyGroupIdField; + + private int secretIdField; + + private string nameField; + + private System.Nullable siteIdField; + + /// + public int SecretDependencyGroupId { + get { + return this.secretDependencyGroupIdField; + } + set { + this.secretDependencyGroupIdField = value; + } + } + + /// + public int SecretId { + get { + return this.secretIdField; + } + set { + this.secretIdField = value; + } + } + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable SiteId { + get { + return this.siteIdField; + } + set { + this.siteIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class DependencyScanItemField { + + private int scanItemFieldIdField; + + private string nameField; + + private string valueField; + + private string parentNameField; + + /// + public int ScanItemFieldId { + get { + return this.scanItemFieldIdField; + } + set { + this.scanItemFieldIdField = value; + } + } + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public string Value { + get { + return this.valueField; + } + set { + this.valueField = value; + } + } + + /// + public string ParentName { + get { + return this.parentNameField; + } + set { + this.parentNameField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class OdbcConnectionArg { + + private string nameField; + + private string valueField; + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public string Value { + get { + return this.valueField; + } + set { + this.valueField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SqlScriptArgument { + + private string nameField; + + private object valueField; + + private DbType dbTypeField; + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public object Value { + get { + return this.valueField; + } + set { + this.valueField = value; + } + } + + /// + public DbType DbType { + get { + return this.dbTypeField; + } + set { + this.dbTypeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public enum DbType { + + /// + AnsiString, + + /// + Binary, + + /// + Byte, + + /// + Boolean, + + /// + Currency, + + /// + Date, + + /// + DateTime, + + /// + Decimal, + + /// + Double, + + /// + Guid, + + /// + Int16, + + /// + Int32, + + /// + Int64, + + /// + Object, + + /// + SByte, + + /// + Single, + + /// + String, + + /// + Time, + + /// + UInt16, + + /// + UInt32, + + /// + UInt64, + + /// + VarNumeric, + + /// + AnsiStringFixedLength, + + /// + StringFixedLength, + + /// + Xml, + + /// + DateTime2, + + /// + DateTimeOffset, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SshScriptArgument { + + private string nameField; + + private string valueField; + + private SshArgumentType sshTypeField; + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public string Value { + get { + return this.valueField; + } + set { + this.valueField = value; + } + } + + /// + public SshArgumentType SshType { + get { + return this.sshTypeField; + } + set { + this.sshTypeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public enum SshArgumentType { + + /// + Interpreted, + + /// + Literal, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class AdditionalDependencyInfoJson { + + private string regexField; + + private string powershellArgumentsField; + + private SshScriptArgument[] sshArgumentsField; + + private SqlScriptArgument[] sqlArgumentsField; + + private OdbcConnectionArg[] odbcConnectionArgumentsField; + + private DependencyScanItemField[] dependencyScanItemFieldsField; + + private string portField; + + private string databaseField; + + private string serverKeyDigestField; + + /// + public string Regex { + get { + return this.regexField; + } + set { + this.regexField = value; + } + } + + /// + public string PowershellArguments { + get { + return this.powershellArgumentsField; + } + set { + this.powershellArgumentsField = value; + } + } + + /// + public SshScriptArgument[] SshArguments { + get { + return this.sshArgumentsField; + } + set { + this.sshArgumentsField = value; + } + } + + /// + public SqlScriptArgument[] SqlArguments { + get { + return this.sqlArgumentsField; + } + set { + this.sqlArgumentsField = value; + } + } + + /// + public OdbcConnectionArg[] OdbcConnectionArguments { + get { + return this.odbcConnectionArgumentsField; + } + set { + this.odbcConnectionArgumentsField = value; + } + } + + /// + public DependencyScanItemField[] DependencyScanItemFields { + get { + return this.dependencyScanItemFieldsField; + } + set { + this.dependencyScanItemFieldsField = value; + } + } + + /// + public string Port { + get { + return this.portField; + } + set { + this.portField = value; + } + } + + /// + public string Database { + get { + return this.databaseField; + } + set { + this.databaseField = value; + } + } + + /// + public string ServerKeyDigest { + get { + return this.serverKeyDigestField; + } + set { + this.serverKeyDigestField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class Dependency { + + private int secretIdField; + + private int secretDependencyTypeIdField; + + private string machineNameField; + + private string serviceNameField; + + private int privilegedAccountSecretIdField; + + private bool activeField; + + private bool restartOnPasswordChangeField; + + private int waitBeforeSecondsField; + + private AdditionalDependencyInfoJson additionalInfoField; + + private string descriptionField; + + private int scriptIdField; + + private int secretDependencyIdField; + + private System.Nullable sSHKeySecretIdField; + + private System.Nullable secretDependencyTemplateIdField; + + private System.Nullable secretDependencyGroupIdField; + + /// + public int SecretId { + get { + return this.secretIdField; + } + set { + this.secretIdField = value; + } + } + + /// + public int SecretDependencyTypeId { + get { + return this.secretDependencyTypeIdField; + } + set { + this.secretDependencyTypeIdField = value; + } + } + + /// + public string MachineName { + get { + return this.machineNameField; + } + set { + this.machineNameField = value; + } + } + + /// + public string ServiceName { + get { + return this.serviceNameField; + } + set { + this.serviceNameField = value; + } + } + + /// + public int PrivilegedAccountSecretId { + get { + return this.privilegedAccountSecretIdField; + } + set { + this.privilegedAccountSecretIdField = value; + } + } + + /// + public bool Active { + get { + return this.activeField; + } + set { + this.activeField = value; + } + } + + /// + public bool RestartOnPasswordChange { + get { + return this.restartOnPasswordChangeField; + } + set { + this.restartOnPasswordChangeField = value; + } + } + + /// + public int WaitBeforeSeconds { + get { + return this.waitBeforeSecondsField; + } + set { + this.waitBeforeSecondsField = value; + } + } + + /// + public AdditionalDependencyInfoJson AdditionalInfo { + get { + return this.additionalInfoField; + } + set { + this.additionalInfoField = value; + } + } + + /// + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + } + } + + /// + public int ScriptId { + get { + return this.scriptIdField; + } + set { + this.scriptIdField = value; + } + } + + /// + public int SecretDependencyId { + get { + return this.secretDependencyIdField; + } + set { + this.secretDependencyIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable SSHKeySecretId { + get { + return this.sSHKeySecretIdField; + } + set { + this.sSHKeySecretIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable SecretDependencyTemplateId { + get { + return this.secretDependencyTemplateIdField; + } + set { + this.secretDependencyTemplateIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable SecretDependencyGroupId { + get { + return this.secretDependencyGroupIdField; + } + set { + this.secretDependencyGroupIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetDependenciesResult { + + private Dependency[] dependenciesField; + + private string[] errorsField; + + private bool successField; + + /// + public Dependency[] Dependencies { + get { + return this.dependenciesField; + } + set { + this.dependenciesField = value; + } + } + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public bool Success { + get { + return this.successField; + } + set { + this.successField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SearchFolderResult { + + private string[] errorsField; + + private Folder[] foldersField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public Folder[] Folders { + get { + return this.foldersField; + } + set { + this.foldersField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FolderExtended))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class Folder { + + private int idField; + + private string nameField; + + private int typeIdField; + + private int parentFolderIdField; + + /// + public int Id { + get { + return this.idField; + } + set { + this.idField = value; + } + } + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public int TypeId { + get { + return this.typeIdField; + } + set { + this.typeIdField = value; + } + } + + /// + public int ParentFolderId { + get { + return this.parentFolderIdField; + } + set { + this.parentFolderIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class FolderExtended : Folder { + + private FolderPermissions permissionSettingsField; + + private FolderSettings settingsField; + + /// + public FolderPermissions PermissionSettings { + get { + return this.permissionSettingsField; + } + set { + this.permissionSettingsField = value; + } + } + + /// + public FolderSettings Settings { + get { + return this.settingsField; + } + set { + this.settingsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class FolderPermissions { + + private System.Nullable isChangeToPermissionsField; + + private System.Nullable inheritPermissionsEnabledField; + + private FolderPermission[] permissionsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable IsChangeToPermissions { + get { + return this.isChangeToPermissionsField; + } + set { + this.isChangeToPermissionsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable InheritPermissionsEnabled { + get { + return this.inheritPermissionsEnabledField; + } + set { + this.inheritPermissionsEnabledField = value; + } + } + + /// + public FolderPermission[] Permissions { + get { + return this.permissionsField; + } + set { + this.permissionsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class FolderPermission { + + private GroupOrUserRecord userOrGroupField; + + private string folderAccessRoleNameField; + + private System.Nullable folderAccessRoleIdField; + + private string secretAccessRoleNameField; + + private System.Nullable secretAccessRoleIdField; + + /// + public GroupOrUserRecord UserOrGroup { + get { + return this.userOrGroupField; + } + set { + this.userOrGroupField = value; + } + } + + /// + public string FolderAccessRoleName { + get { + return this.folderAccessRoleNameField; + } + set { + this.folderAccessRoleNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable FolderAccessRoleId { + get { + return this.folderAccessRoleIdField; + } + set { + this.folderAccessRoleIdField = value; + } + } + + /// + public string SecretAccessRoleName { + get { + return this.secretAccessRoleNameField; + } + set { + this.secretAccessRoleNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable SecretAccessRoleId { + get { + return this.secretAccessRoleIdField; + } + set { + this.secretAccessRoleIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GroupOrUserRecord { + + private string nameField; + + private string domainNameField; + + private bool isUserField; + + private System.Nullable groupIdField; + + private System.Nullable userIdField; + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public string DomainName { + get { + return this.domainNameField; + } + set { + this.domainNameField = value; + } + } + + /// + public bool IsUser { + get { + return this.isUserField; + } + set { + this.isUserField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable GroupId { + get { + return this.groupIdField; + } + set { + this.groupIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable UserId { + get { + return this.userIdField; + } + set { + this.userIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class FolderSettings { + + private System.Nullable isChangeToSettingsField; + + private System.Nullable inheritSecretPolicyField; + + private System.Nullable secretPolicyIdField; + + private SecretType[] associatedTemplatesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable IsChangeToSettings { + get { + return this.isChangeToSettingsField; + } + set { + this.isChangeToSettingsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable InheritSecretPolicy { + get { + return this.inheritSecretPolicyField; + } + set { + this.inheritSecretPolicyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable SecretPolicyId { + get { + return this.secretPolicyIdField; + } + set { + this.secretPolicyIdField = value; + } + } + + /// + public SecretType[] AssociatedTemplates { + get { + return this.associatedTemplatesField; + } + set { + this.associatedTemplatesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretType : TrackChanges { + + private string secretTypeDescriptionField; + + private int typeIDField; + + private int rPCRetryIntervalField; + + private System.Nullable rPCMaxAttemptsField; + + private bool launcherTypeReadyField; + + private bool enableHeartBeatField; + + private int secretNameHistoryLengthField; + + private string namePatternField; + + private string namePatternErrorMessageField; + + private bool activeField; + + private string nameField; + + private int organizationIdField; + + private int expirationFieldIdField; + + private int expirationDaysField; + + private int passwordTypeIdField; + + private bool passwordTypeReadyField; + + private string imageClassField; + + private int heartBeatCheckIntervalField; + + private bool validatePasswordRequirementsOnCreateField; + + private bool validatePasswordRequirementsOnEditField; + + private System.Nullable defaultPrivilegedAccountSecretIdField; + + private int basicHomeDisplayFieldIdField; + + private System.Nullable oneTimePasswordEnabledField; + + private System.Nullable oneTimePasswordHashModeField; + + private System.Nullable oneTimePasswordDurationSecondsField; + + private System.Nullable oneTimePasswordCodeLengthField; + + private System.Nullable secretCountField; + + /// + public string SecretTypeDescription { + get { + return this.secretTypeDescriptionField; + } + set { + this.secretTypeDescriptionField = value; + } + } + + /// + public int TypeID { + get { + return this.typeIDField; + } + set { + this.typeIDField = value; + } + } + + /// + public int RPCRetryInterval { + get { + return this.rPCRetryIntervalField; + } + set { + this.rPCRetryIntervalField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable RPCMaxAttempts { + get { + return this.rPCMaxAttemptsField; + } + set { + this.rPCMaxAttemptsField = value; + } + } + + /// + public bool LauncherTypeReady { + get { + return this.launcherTypeReadyField; + } + set { + this.launcherTypeReadyField = value; + } + } + + /// + public bool EnableHeartBeat { + get { + return this.enableHeartBeatField; + } + set { + this.enableHeartBeatField = value; + } + } + + /// + public int SecretNameHistoryLength { + get { + return this.secretNameHistoryLengthField; + } + set { + this.secretNameHistoryLengthField = value; + } + } + + /// + public string NamePattern { + get { + return this.namePatternField; + } + set { + this.namePatternField = value; + } + } + + /// + public string NamePatternErrorMessage { + get { + return this.namePatternErrorMessageField; + } + set { + this.namePatternErrorMessageField = value; + } + } + + /// + public bool Active { + get { + return this.activeField; + } + set { + this.activeField = value; + } + } + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public int OrganizationId { + get { + return this.organizationIdField; + } + set { + this.organizationIdField = value; + } + } + + /// + public int ExpirationFieldId { + get { + return this.expirationFieldIdField; + } + set { + this.expirationFieldIdField = value; + } + } + + /// + public int ExpirationDays { + get { + return this.expirationDaysField; + } + set { + this.expirationDaysField = value; + } + } + + /// + public int PasswordTypeId { + get { + return this.passwordTypeIdField; + } + set { + this.passwordTypeIdField = value; + } + } + + /// + public bool PasswordTypeReady { + get { + return this.passwordTypeReadyField; + } + set { + this.passwordTypeReadyField = value; + } + } + + /// + public string ImageClass { + get { + return this.imageClassField; + } + set { + this.imageClassField = value; + } + } + + /// + public int HeartBeatCheckInterval { + get { + return this.heartBeatCheckIntervalField; + } + set { + this.heartBeatCheckIntervalField = value; + } + } + + /// + public bool ValidatePasswordRequirementsOnCreate { + get { + return this.validatePasswordRequirementsOnCreateField; + } + set { + this.validatePasswordRequirementsOnCreateField = value; + } + } + + /// + public bool ValidatePasswordRequirementsOnEdit { + get { + return this.validatePasswordRequirementsOnEditField; + } + set { + this.validatePasswordRequirementsOnEditField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable DefaultPrivilegedAccountSecretId { + get { + return this.defaultPrivilegedAccountSecretIdField; + } + set { + this.defaultPrivilegedAccountSecretIdField = value; + } + } + + /// + public int BasicHomeDisplayFieldId { + get { + return this.basicHomeDisplayFieldIdField; + } + set { + this.basicHomeDisplayFieldIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable OneTimePasswordEnabled { + get { + return this.oneTimePasswordEnabledField; + } + set { + this.oneTimePasswordEnabledField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable OneTimePasswordHashMode { + get { + return this.oneTimePasswordHashModeField; + } + set { + this.oneTimePasswordHashModeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable OneTimePasswordDurationSeconds { + get { + return this.oneTimePasswordDurationSecondsField; + } + set { + this.oneTimePasswordDurationSecondsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable OneTimePasswordCodeLength { + get { + return this.oneTimePasswordCodeLengthField; + } + set { + this.oneTimePasswordCodeLengthField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable SecretCount { + get { + return this.secretCountField; + } + set { + this.secretCountField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SecretType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class TrackChanges { + + private bool hasBeenDeletedField; + + private object storageField; + + /// + public bool HasBeenDeleted { + get { + return this.hasBeenDeletedField; + } + set { + this.hasBeenDeletedField = value; + } + } + + /// + public object Storage { + get { + return this.storageField; + } + set { + this.storageField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetFoldersResult { + + private Folder[] foldersField; + + private string[] errorsField; + + private bool successField; + + /// + public Folder[] Folders { + get { + return this.foldersField; + } + set { + this.foldersField = value; + } + } + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public bool Success { + get { + return this.successField; + } + set { + this.successField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetFolderResult { + + private Folder folderField; + + private string[] errorsField; + + private bool successField; + + /// + public Folder Folder { + get { + return this.folderField; + } + set { + this.folderField = value; + } + } + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public bool Success { + get { + return this.successField; + } + set { + this.successField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class AuditSecret { + + private int auditSecretIdField; + + private int secretIdField; + + private System.DateTime dateRecordedField; + + private string actionField; + + private string notesField; + + private int userIdField; + + private string secretNameField; + + private string ipAddressField; + + private int referenceIdField; + + private string byUserDisplayNameField; + + private string ticketNumberField; + + /// + public int AuditSecretId { + get { + return this.auditSecretIdField; + } + set { + this.auditSecretIdField = value; + } + } + + /// + public int SecretId { + get { + return this.secretIdField; + } + set { + this.secretIdField = value; + } + } + + /// + public System.DateTime DateRecorded { + get { + return this.dateRecordedField; + } + set { + this.dateRecordedField = value; + } + } + + /// + public string Action { + get { + return this.actionField; + } + set { + this.actionField = value; + } + } + + /// + public string Notes { + get { + return this.notesField; + } + set { + this.notesField = value; + } + } + + /// + public int UserId { + get { + return this.userIdField; + } + set { + this.userIdField = value; + } + } + + /// + public string SecretName { + get { + return this.secretNameField; + } + set { + this.secretNameField = value; + } + } + + /// + public string IpAddress { + get { + return this.ipAddressField; + } + set { + this.ipAddressField = value; + } + } + + /// + public int ReferenceId { + get { + return this.referenceIdField; + } + set { + this.referenceIdField = value; + } + } + + /// + public string ByUserDisplayName { + get { + return this.byUserDisplayNameField; + } + set { + this.byUserDisplayNameField = value; + } + } + + /// + public string TicketNumber { + get { + return this.ticketNumberField; + } + set { + this.ticketNumberField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetSecretAuditResult { + + private string[] errorsField; + + private AuditSecret[] secretAuditsField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public AuditSecret[] SecretAudits { + get { + return this.secretAuditsField; + } + set { + this.secretAuditsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetCheckOutStatusResult { + + private string[] errorsField; + + private Secret secretField; + + private int checkOutMinutesRemainingField; + + private bool isCheckedOutField; + + private string checkOutUserDisplayNameField; + + private int checkOutUserIdField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public Secret Secret { + get { + return this.secretField; + } + set { + this.secretField = value; + } + } + + /// + public int CheckOutMinutesRemaining { + get { + return this.checkOutMinutesRemainingField; + } + set { + this.checkOutMinutesRemainingField = value; + } + } + + /// + public bool IsCheckedOut { + get { + return this.isCheckedOutField; + } + set { + this.isCheckedOutField = value; + } + } + + /// + public string CheckOutUserDisplayName { + get { + return this.checkOutUserDisplayNameField; + } + set { + this.checkOutUserDisplayNameField = value; + } + } + + /// + public int CheckOutUserId { + get { + return this.checkOutUserIdField; + } + set { + this.checkOutUserIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class Secret { + + private string nameField; + + private SecretItem[] itemsField; + + private int idField; + + private int secretTypeIdField; + + private int folderIdField; + + private bool isWebLauncherField; + + private System.Nullable checkOutMinutesRemainingField; + + private System.Nullable isCheckedOutField; + + private string checkOutUserDisplayNameField; + + private System.Nullable checkOutUserIdField; + + private System.Nullable isOutOfSyncField; + + private System.Nullable isRestrictedField; + + private string outOfSyncReasonField; + + private SecretSettings secretSettingsField; + + private SecretPermissions secretPermissionsField; + + private System.Nullable activeField; + + private bool activeFieldSpecified; + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public SecretItem[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + } + } + + /// + public int Id { + get { + return this.idField; + } + set { + this.idField = value; + } + } + + /// + public int SecretTypeId { + get { + return this.secretTypeIdField; + } + set { + this.secretTypeIdField = value; + } + } + + /// + public int FolderId { + get { + return this.folderIdField; + } + set { + this.folderIdField = value; + } + } + + /// + public bool IsWebLauncher { + get { + return this.isWebLauncherField; + } + set { + this.isWebLauncherField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable CheckOutMinutesRemaining { + get { + return this.checkOutMinutesRemainingField; + } + set { + this.checkOutMinutesRemainingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable IsCheckedOut { + get { + return this.isCheckedOutField; + } + set { + this.isCheckedOutField = value; + } + } + + /// + public string CheckOutUserDisplayName { + get { + return this.checkOutUserDisplayNameField; + } + set { + this.checkOutUserDisplayNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable CheckOutUserId { + get { + return this.checkOutUserIdField; + } + set { + this.checkOutUserIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable IsOutOfSync { + get { + return this.isOutOfSyncField; + } + set { + this.isOutOfSyncField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable IsRestricted { + get { + return this.isRestrictedField; + } + set { + this.isRestrictedField = value; + } + } + + /// + public string OutOfSyncReason { + get { + return this.outOfSyncReasonField; + } + set { + this.outOfSyncReasonField = value; + } + } + + /// + public SecretSettings SecretSettings { + get { + return this.secretSettingsField; + } + set { + this.secretSettingsField = value; + } + } + + /// + public SecretPermissions SecretPermissions { + get { + return this.secretPermissionsField; + } + set { + this.secretPermissionsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable Active { + get { + return this.activeField; + } + set { + this.activeField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ActiveSpecified { + get { + return this.activeFieldSpecified; + } + set { + this.activeFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretItem { + + private string valueField; + + private System.Nullable idField; + + private System.Nullable fieldIdField; + + private string fieldNameField; + + private bool isFileField; + + private bool isNotesField; + + private bool isPasswordField; + + private string fieldDisplayNameField; + + /// + public string Value { + get { + return this.valueField; + } + set { + this.valueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable Id { + get { + return this.idField; + } + set { + this.idField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable FieldId { + get { + return this.fieldIdField; + } + set { + this.fieldIdField = value; + } + } + + /// + public string FieldName { + get { + return this.fieldNameField; + } + set { + this.fieldNameField = value; + } + } + + /// + public bool IsFile { + get { + return this.isFileField; + } + set { + this.isFileField = value; + } + } + + /// + public bool IsNotes { + get { + return this.isNotesField; + } + set { + this.isNotesField = value; + } + } + + /// + public bool IsPassword { + get { + return this.isPasswordField; + } + set { + this.isPasswordField = value; + } + } + + /// + public string FieldDisplayName { + get { + return this.fieldDisplayNameField; + } + set { + this.fieldDisplayNameField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretSettings { + + private System.Nullable autoChangeEnabledField; + + private System.Nullable requiresApprovalForAccessField; + + private System.Nullable requiresCommentField; + + private System.Nullable checkOutEnabledField; + + private System.Nullable checkOutChangePasswordEnabledField; + + private System.Nullable proxyEnabledField; + + private System.Nullable sessionRecordingEnabledField; + + private System.Nullable restrictSshCommandsField; + + private System.Nullable commandRestrictionTypeField; + + private System.Nullable allowOwnersUnrestrictedSshCommandsField; + + private System.Nullable privilegedSecretIdField; + + private int[] associatedSecretIdsField; + + private GroupOrUserRecord[] approversField; + + private SshCommandMenuAccessPermission[] sshCommandMenuAccessPermissionsField; + + private SshCommandBlocklistPermissionDto[] sshCommandBlocklistPermissionsField; + + private bool isChangeToSettingsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable AutoChangeEnabled { + get { + return this.autoChangeEnabledField; + } + set { + this.autoChangeEnabledField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable RequiresApprovalForAccess { + get { + return this.requiresApprovalForAccessField; + } + set { + this.requiresApprovalForAccessField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable RequiresComment { + get { + return this.requiresCommentField; + } + set { + this.requiresCommentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable CheckOutEnabled { + get { + return this.checkOutEnabledField; + } + set { + this.checkOutEnabledField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable CheckOutChangePasswordEnabled { + get { + return this.checkOutChangePasswordEnabledField; + } + set { + this.checkOutChangePasswordEnabledField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable ProxyEnabled { + get { + return this.proxyEnabledField; + } + set { + this.proxyEnabledField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable SessionRecordingEnabled { + get { + return this.sessionRecordingEnabledField; + } + set { + this.sessionRecordingEnabledField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable RestrictSshCommands { + get { + return this.restrictSshCommandsField; + } + set { + this.restrictSshCommandsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable CommandRestrictionType { + get { + return this.commandRestrictionTypeField; + } + set { + this.commandRestrictionTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable AllowOwnersUnrestrictedSshCommands { + get { + return this.allowOwnersUnrestrictedSshCommandsField; + } + set { + this.allowOwnersUnrestrictedSshCommandsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable PrivilegedSecretId { + get { + return this.privilegedSecretIdField; + } + set { + this.privilegedSecretIdField = value; + } + } + + /// + public int[] AssociatedSecretIds { + get { + return this.associatedSecretIdsField; + } + set { + this.associatedSecretIdsField = value; + } + } + + /// + public GroupOrUserRecord[] Approvers { + get { + return this.approversField; + } + set { + this.approversField = value; + } + } + + /// + public SshCommandMenuAccessPermission[] SshCommandMenuAccessPermissions { + get { + return this.sshCommandMenuAccessPermissionsField; + } + set { + this.sshCommandMenuAccessPermissionsField = value; + } + } + + /// + public SshCommandBlocklistPermissionDto[] SshCommandBlocklistPermissions { + get { + return this.sshCommandBlocklistPermissionsField; + } + set { + this.sshCommandBlocklistPermissionsField = value; + } + } + + /// + public bool IsChangeToSettings { + get { + return this.isChangeToSettingsField; + } + set { + this.isChangeToSettingsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SshCommandMenuAccessPermission { + + private GroupOrUserRecord groupOrUserRecordField; + + private int secretIdField; + + private string concurrencyIdField; + + private string displayNameField; + + private string sshCommandMenuNameField; + + private bool isUnrestrictedField; + + private System.Nullable sshCommandMenuIdField; + + /// + public GroupOrUserRecord GroupOrUserRecord { + get { + return this.groupOrUserRecordField; + } + set { + this.groupOrUserRecordField = value; + } + } + + /// + public int SecretId { + get { + return this.secretIdField; + } + set { + this.secretIdField = value; + } + } + + /// + public string ConcurrencyId { + get { + return this.concurrencyIdField; + } + set { + this.concurrencyIdField = value; + } + } + + /// + public string DisplayName { + get { + return this.displayNameField; + } + set { + this.displayNameField = value; + } + } + + /// + public string SshCommandMenuName { + get { + return this.sshCommandMenuNameField; + } + set { + this.sshCommandMenuNameField = value; + } + } + + /// + public bool IsUnrestricted { + get { + return this.isUnrestrictedField; + } + set { + this.isUnrestrictedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable SshCommandMenuId { + get { + return this.sshCommandMenuIdField; + } + set { + this.sshCommandMenuIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SshCommandBlocklistPermissionDto { + + private int sshCommandBlocklistPermissionIdField; + + private System.Nullable sshCommandBlocklistIdField; + + private int secretIdField; + + private int rolePermissionIdField; + + private string displayNameField; + + private string sshCommandBlocklistNameField; + + /// + public int SshCommandBlocklistPermissionId { + get { + return this.sshCommandBlocklistPermissionIdField; + } + set { + this.sshCommandBlocklistPermissionIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable SshCommandBlocklistId { + get { + return this.sshCommandBlocklistIdField; + } + set { + this.sshCommandBlocklistIdField = value; + } + } + + /// + public int SecretId { + get { + return this.secretIdField; + } + set { + this.secretIdField = value; + } + } + + /// + public int RolePermissionId { + get { + return this.rolePermissionIdField; + } + set { + this.rolePermissionIdField = value; + } + } + + /// + public string DisplayName { + get { + return this.displayNameField; + } + set { + this.displayNameField = value; + } + } + + /// + public string SshCommandBlocklistName { + get { + return this.sshCommandBlocklistNameField; + } + set { + this.sshCommandBlocklistNameField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretPermissions { + + private bool currentUserHasViewField; + + private bool currentUserHasEditField; + + private bool currentUserHasOwnerField; + + private System.Nullable inheritPermissionsEnabledField; + + private bool isChangeToPermissionsField; + + private Permission[] permissionsField; + + /// + public bool CurrentUserHasView { + get { + return this.currentUserHasViewField; + } + set { + this.currentUserHasViewField = value; + } + } + + /// + public bool CurrentUserHasEdit { + get { + return this.currentUserHasEditField; + } + set { + this.currentUserHasEditField = value; + } + } + + /// + public bool CurrentUserHasOwner { + get { + return this.currentUserHasOwnerField; + } + set { + this.currentUserHasOwnerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable InheritPermissionsEnabled { + get { + return this.inheritPermissionsEnabledField; + } + set { + this.inheritPermissionsEnabledField = value; + } + } + + /// + public bool IsChangeToPermissions { + get { + return this.isChangeToPermissionsField; + } + set { + this.isChangeToPermissionsField = value; + } + } + + /// + public Permission[] Permissions { + get { + return this.permissionsField; + } + set { + this.permissionsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class Permission { + + private GroupOrUserRecord userOrGroupField; + + private bool viewField; + + private bool editField; + + private bool ownerField; + + private string secretAccessRoleNameField; + + private System.Nullable secretAccessRoleIdField; + + /// + public GroupOrUserRecord UserOrGroup { + get { + return this.userOrGroupField; + } + set { + this.userOrGroupField = value; + } + } + + /// + public bool View { + get { + return this.viewField; + } + set { + this.viewField = value; + } + } + + /// + public bool Edit { + get { + return this.editField; + } + set { + this.editField = value; + } + } + + /// + public bool Owner { + get { + return this.ownerField; + } + set { + this.ownerField = value; + } + } + + /// + public string SecretAccessRoleName { + get { + return this.secretAccessRoleNameField; + } + set { + this.secretAccessRoleNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable SecretAccessRoleId { + get { + return this.secretAccessRoleIdField; + } + set { + this.secretAccessRoleIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class VersionGetResult { + + private string[] errorsField; + + private string versionField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public string Version { + get { + return this.versionField; + } + set { + this.versionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GeneratePasswordResult { + + private string generatedPasswordField; + + private string[] errorsField; + + /// + public string GeneratedPassword { + get { + return this.generatedPasswordField; + } + set { + this.generatedPasswordField = value; + } + } + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretTemplate { + + private int idField; + + private string nameField; + + private SecretField[] fieldsField; + + /// + public int Id { + get { + return this.idField; + } + set { + this.idField = value; + } + } + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public SecretField[] Fields { + get { + return this.fieldsField; + } + set { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretField { + + private string displayNameField; + + private int idField; + + private bool isPasswordField; + + private bool isUrlField; + + private bool isNotesField; + + private bool isFileField; + + /// + public string DisplayName { + get { + return this.displayNameField; + } + set { + this.displayNameField = value; + } + } + + /// + public int Id { + get { + return this.idField; + } + set { + this.idField = value; + } + } + + /// + public bool IsPassword { + get { + return this.isPasswordField; + } + set { + this.isPasswordField = value; + } + } + + /// + public bool IsUrl { + get { + return this.isUrlField; + } + set { + this.isUrlField = value; + } + } + + /// + public bool IsNotes { + get { + return this.isNotesField; + } + set { + this.isNotesField = value; + } + } + + /// + public bool IsFile { + get { + return this.isFileField; + } + set { + this.isFileField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetSecretTemplatesResult { + + private string[] errorsField; + + private SecretTemplate[] secretTemplatesField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public SecretTemplate[] SecretTemplates { + get { + return this.secretTemplatesField; + } + set { + this.secretTemplatesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetSecretTemplateFieldsResult { + + private string[] errorsField; + + private SecretField[] fieldsField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public SecretField[] Fields { + get { + return this.fieldsField; + } + set { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class AddSecretResult { + + private string[] errorsField; + + private Secret secretField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public Secret Secret { + get { + return this.secretField; + } + set { + this.secretField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetFavoritesResult { + + private string[] errorsField; + + private SecretSummary[] secretSummariesField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public SecretSummary[] SecretSummaries { + get { + return this.secretSummariesField; + } + set { + this.secretSummariesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretSummary { + + private int secretIdField; + + private string secretNameField; + + private string secretTypeNameField; + + private int secretTypeIdField; + + private int folderIdField; + + private bool isRestrictedField; + + /// + public int SecretId { + get { + return this.secretIdField; + } + set { + this.secretIdField = value; + } + } + + /// + public string SecretName { + get { + return this.secretNameField; + } + set { + this.secretNameField = value; + } + } + + /// + public string SecretTypeName { + get { + return this.secretTypeNameField; + } + set { + this.secretTypeNameField = value; + } + } + + /// + public int SecretTypeId { + get { + return this.secretTypeIdField; + } + set { + this.secretTypeIdField = value; + } + } + + /// + public int FolderId { + get { + return this.folderIdField; + } + set { + this.folderIdField = value; + } + } + + /// + public bool IsRestricted { + get { + return this.isRestrictedField; + } + set { + this.isRestrictedField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SearchSecretsResult { + + private string[] errorsField; + + private SecretSummary[] secretSummariesField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public SecretSummary[] SecretSummaries { + get { + return this.secretSummariesField; + } + set { + this.secretSummariesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetSecretsByFieldValueResult { + + private string[] errorsField; + + private Secret[] secretsField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public Secret[] Secrets { + get { + return this.secretsField; + } + set { + this.secretsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class CodeResponse { + + private string errorCodeField; + + private string commentField; + + private string additionalCommentField; + + private System.Nullable ticketSystemIdField; + + /// + public string ErrorCode { + get { + return this.errorCodeField; + } + set { + this.errorCodeField = value; + } + } + + /// + public string Comment { + get { + return this.commentField; + } + set { + this.commentField = value; + } + } + + /// + public string AdditionalComment { + get { + return this.additionalCommentField; + } + set { + this.additionalCommentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable TicketSystemId { + get { + return this.ticketSystemIdField; + } + set { + this.ticketSystemIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretError { + + private string errorCodeField; + + private string errorMessageField; + + private bool allowsResponseField; + + private string commentTitleField; + + private string additionalCommentTitleField; + + /// + public string ErrorCode { + get { + return this.errorCodeField; + } + set { + this.errorCodeField = value; + } + } + + /// + public string ErrorMessage { + get { + return this.errorMessageField; + } + set { + this.errorMessageField = value; + } + } + + /// + public bool AllowsResponse { + get { + return this.allowsResponseField; + } + set { + this.allowsResponseField = value; + } + } + + /// + public string CommentTitle { + get { + return this.commentTitleField; + } + set { + this.commentTitleField = value; + } + } + + /// + public string AdditionalCommentTitle { + get { + return this.additionalCommentTitleField; + } + set { + this.additionalCommentTitleField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetSecretResult { + + private string[] errorsField; + + private SecretError secretErrorField; + + private Secret secretField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + + /// + public SecretError SecretError { + get { + return this.secretErrorField; + } + set { + this.secretErrorField = value; + } + } + + /// + public Secret Secret { + get { + return this.secretField; + } + set { + this.secretField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class FolderExtendedGetNewRequest { + + private string folderNameField; + + private System.Nullable parentFolderIdField; + + private System.Nullable inheritPermissionsField; + + /// + public string FolderName { + get { + return this.folderNameField; + } + set { + this.folderNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable ParentFolderId { + get { + return this.parentFolderIdField; + } + set { + this.parentFolderIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable InheritPermissions { + get { + return this.inheritPermissionsField; + } + set { + this.inheritPermissionsField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FolderExtendedGetNewResult))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FolderExtendedUpdateResult))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FolderExtendedGetResult))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FolderExtendedCreateResult))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class FolderExtendedResultBase { + + private bool successField; + + private string[] errorsField; + + /// + public bool Success { + get { + return this.successField; + } + set { + this.successField = value; + } + } + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class FolderExtendedGetNewResult : FolderExtendedResultBase { + + private FolderExtended folderField; + + /// + public FolderExtended Folder { + get { + return this.folderField; + } + set { + this.folderField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class FolderExtendedUpdateResult : FolderExtendedResultBase { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class FolderExtendedGetResult : FolderExtendedResultBase { + + private FolderExtended folderField; + + /// + public FolderExtended Folder { + get { + return this.folderField; + } + set { + this.folderField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class FolderExtendedCreateResult : FolderExtendedResultBase { + + private int folderIdField; + + /// + public int FolderId { + get { + return this.folderIdField; + } + set { + this.folderIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SqlScriptArgument2 { + + private string nameField; + + private object valueField; + + private DbType dbTypeField; + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public object Value { + get { + return this.valueField; + } + set { + this.valueField = value; + } + } + + /// + public DbType DbType { + get { + return this.dbTypeField; + } + set { + this.dbTypeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class AdditionalDataSqlObject { + + private SqlScriptArgument2[] paramsField; + + private int passwordChangerIdField; + + private int versionField; + + private string databaseField; + + private string portField; + + /// + public SqlScriptArgument2[] Params { + get { + return this.paramsField; + } + set { + this.paramsField = value; + } + } + + /// + public int PasswordChangerId { + get { + return this.passwordChangerIdField; + } + set { + this.passwordChangerIdField = value; + } + } + + /// + public int Version { + get { + return this.versionField; + } + set { + this.versionField = value; + } + } + + /// + public string Database { + get { + return this.databaseField; + } + set { + this.databaseField = value; + } + } + + /// + public string Port { + get { + return this.portField; + } + set { + this.portField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SshUserScript))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(PowerShellUserScript))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SqlUserScript))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public abstract partial class UserScript { + + private int scriptIdField; + + private string nameField; + + private string descriptionField; + + private string scriptField; + + private bool activeField; + + /// + public int ScriptId { + get { + return this.scriptIdField; + } + set { + this.scriptIdField = value; + } + } + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + } + } + + /// + public string Script { + get { + return this.scriptField; + } + set { + this.scriptField = value; + } + } + + /// + public bool Active { + get { + return this.activeField; + } + set { + this.activeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SshUserScript : UserScript { + + private AdditionalDataSshObject additionalDataObjectField; + + /// + public AdditionalDataSshObject AdditionalDataObject { + get { + return this.additionalDataObjectField; + } + set { + this.additionalDataObjectField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class PowerShellUserScript : UserScript { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SqlUserScript : UserScript { + + private AdditionalDataSqlObject additionalDataObjectField; + + /// + public AdditionalDataSqlObject AdditionalDataObject { + get { + return this.additionalDataObjectField; + } + set { + this.additionalDataObjectField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SshCommandMenuGroupMap { + + private System.Nullable sshCommandMenuIdField; + + private UserGroupMap userGroupMapField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable SshCommandMenuId { + get { + return this.sshCommandMenuIdField; + } + set { + this.sshCommandMenuIdField = value; + } + } + + /// + public UserGroupMap UserGroupMap { + get { + return this.userGroupMapField; + } + set { + this.userGroupMapField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class UserGroupMap { + + private int idField; + + private UserGroupMapType userGroupMapTypeField; + + /// + public int Id { + get { + return this.idField; + } + set { + this.idField = value; + } + } + + /// + public UserGroupMapType UserGroupMapType { + get { + return this.userGroupMapTypeField; + } + set { + this.userGroupMapTypeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public enum UserGroupMapType { + + /// + User, + + /// + Group, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretPolicyItem { + + private int secretPolicyItemMapIdField; + + private int secretPolicyItemIdField; + + private string policyApplyCodeField; + + private System.Nullable enabledValueField; + + private System.Nullable integerValueField; + + private System.Nullable secretIdField; + + private string stringValueField; + + private string nameField; + + private string descriptionField; + + private string valueTypeField; + + private System.Nullable parentSecretPolicyItemIdField; + + private string sectionNameField; + + private UserGroupMap[] userGroupMapsField; + + private SshCommandMenuGroupMap[] sshCommandMenuGroupMapsField; + + /// + public int SecretPolicyItemMapId { + get { + return this.secretPolicyItemMapIdField; + } + set { + this.secretPolicyItemMapIdField = value; + } + } + + /// + public int SecretPolicyItemId { + get { + return this.secretPolicyItemIdField; + } + set { + this.secretPolicyItemIdField = value; + } + } + + /// + public string PolicyApplyCode { + get { + return this.policyApplyCodeField; + } + set { + this.policyApplyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable EnabledValue { + get { + return this.enabledValueField; + } + set { + this.enabledValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable IntegerValue { + get { + return this.integerValueField; + } + set { + this.integerValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable SecretId { + get { + return this.secretIdField; + } + set { + this.secretIdField = value; + } + } + + /// + public string StringValue { + get { + return this.stringValueField; + } + set { + this.stringValueField = value; + } + } + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + } + } + + /// + public string ValueType { + get { + return this.valueTypeField; + } + set { + this.valueTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable ParentSecretPolicyItemId { + get { + return this.parentSecretPolicyItemIdField; + } + set { + this.parentSecretPolicyItemIdField = value; + } + } + + /// + public string SectionName { + get { + return this.sectionNameField; + } + set { + this.sectionNameField = value; + } + } + + /// + public UserGroupMap[] UserGroupMaps { + get { + return this.userGroupMapsField; + } + set { + this.userGroupMapsField = value; + } + } + + /// + public SshCommandMenuGroupMap[] SshCommandMenuGroupMaps { + get { + return this.sshCommandMenuGroupMapsField; + } + set { + this.sshCommandMenuGroupMapsField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SecretPolicyDetail))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretPolicySummary { + + private int secretPolicyIdField; + + private string secretPolicyNameField; + + private string secretPolicyDescriptionField; + + private bool activeField; + + /// + public int SecretPolicyId { + get { + return this.secretPolicyIdField; + } + set { + this.secretPolicyIdField = value; + } + } + + /// + public string SecretPolicyName { + get { + return this.secretPolicyNameField; + } + set { + this.secretPolicyNameField = value; + } + } + + /// + public string SecretPolicyDescription { + get { + return this.secretPolicyDescriptionField; + } + set { + this.secretPolicyDescriptionField = value; + } + } + + /// + public bool Active { + get { + return this.activeField; + } + set { + this.activeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretPolicyDetail : SecretPolicySummary { + + private SecretPolicyItem[] secretPolicyItemsField; + + /// + public SecretPolicyItem[] SecretPolicyItems { + get { + return this.secretPolicyItemsField; + } + set { + this.secretPolicyItemsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretPolicyForSecret { + + private int secretIdField; + + private System.Nullable secretPolicyIdField; + + private bool inheritField; + + /// + public int SecretId { + get { + return this.secretIdField; + } + set { + this.secretIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public System.Nullable SecretPolicyId { + get { + return this.secretPolicyIdField; + } + set { + this.secretPolicyIdField = value; + } + } + + /// + public bool Inherit { + get { + return this.inheritField; + } + set { + this.inheritField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateUserScriptResult))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetUserScriptResult))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetUserScriptsResult))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SecretPolicyResult))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SearchSecretPoliciesResult))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SecretPolicyForSecretResult))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SSHCredentialsResult))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FileDownloadResult))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateFolderResult))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class WebServiceResult { + + private string[] errorsField; + + /// + public string[] Errors { + get { + return this.errorsField; + } + set { + this.errorsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class UpdateUserScriptResult : WebServiceResult { + + private UserScript userScriptField; + + /// + public UserScript UserScript { + get { + return this.userScriptField; + } + set { + this.userScriptField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetUserScriptResult : WebServiceResult { + + private UserScript userScriptField; + + /// + public UserScript UserScript { + get { + return this.userScriptField; + } + set { + this.userScriptField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GetUserScriptsResult : WebServiceResult { + + private UserScript[] userScriptsField; + + /// + public UserScript[] UserScripts { + get { + return this.userScriptsField; + } + set { + this.userScriptsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretPolicyResult : WebServiceResult { + + private SecretPolicyDetail secretPolicyField; + + /// + public SecretPolicyDetail SecretPolicy { + get { + return this.secretPolicyField; + } + set { + this.secretPolicyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SearchSecretPoliciesResult : WebServiceResult { + + private SecretPolicySummary[] secretPoliciesField; + + /// + public SecretPolicySummary[] SecretPolicies { + get { + return this.secretPoliciesField; + } + set { + this.secretPoliciesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SecretPolicyForSecretResult : WebServiceResult { + + private SecretPolicyForSecret secretPolicyForSecretField; + + /// + public SecretPolicyForSecret SecretPolicyForSecret { + get { + return this.secretPolicyForSecretField; + } + set { + this.secretPolicyForSecretField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class SSHCredentialsResult : WebServiceResult { + + private string usernameField; + + private string passwordField; + + private string hostField; + + private string portField; + + /// + public string Username { + get { + return this.usernameField; + } + set { + this.usernameField = value; + } + } + + /// + public string Password { + get { + return this.passwordField; + } + set { + this.passwordField = value; + } + } + + /// + public string Host { + get { + return this.hostField; + } + set { + this.hostField = value; + } + } + + /// + public string Port { + get { + return this.portField; + } + set { + this.portField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class FileDownloadResult : WebServiceResult { + + private byte[] fileAttachmentField; + + private string fileNameField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] + public byte[] FileAttachment { + get { + return this.fileAttachmentField; + } + set { + this.fileAttachmentField = value; + } + } + + /// + public string FileName { + get { + return this.fileNameField; + } + set { + this.fileNameField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class CreateFolderResult : WebServiceResult { + + private int folderIdField; + + /// + public int FolderId { + get { + return this.folderIdField; + } + set { + this.folderIdField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(RequestApprovalResult))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:thesecretserver.com")] + public partial class GenericResult { + + private string errorMessageField; + + private string[] debugMessagesField; + + /// + public string ErrorMessage { + get { + return this.errorMessageField; + } + set { + this.errorMessageField = value; + } + } + + /// + public string[] DebugMessages { + get { + return this.debugMessagesField; + } + set { + this.debugMessagesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void ApproveSecretAccessRequestCompletedEventHandler(object sender, ApproveSecretAccessRequestCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ApproveSecretAccessRequestCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal ApproveSecretAccessRequestCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public RequestApprovalResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((RequestApprovalResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void DenySecretAccessRequestCompletedEventHandler(object sender, DenySecretAccessRequestCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DenySecretAccessRequestCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal DenySecretAccessRequestCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public RequestApprovalResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((RequestApprovalResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void AddUserCompletedEventHandler(object sender, AddUserCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AddUserCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AddUserCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void FolderCreateCompletedEventHandler(object sender, FolderCreateCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class FolderCreateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal FolderCreateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public CreateFolderResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((CreateFolderResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void FolderExtendedCreateCompletedEventHandler(object sender, FolderExtendedCreateCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class FolderExtendedCreateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal FolderExtendedCreateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public FolderExtendedCreateResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((FolderExtendedCreateResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void FolderExtendedGetCompletedEventHandler(object sender, FolderExtendedGetCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class FolderExtendedGetCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal FolderExtendedGetCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public FolderExtendedGetResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((FolderExtendedGetResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void FolderExtendedUpdateCompletedEventHandler(object sender, FolderExtendedUpdateCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class FolderExtendedUpdateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal FolderExtendedUpdateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public FolderExtendedUpdateResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((FolderExtendedUpdateResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void FolderExtendedGetNewCompletedEventHandler(object sender, FolderExtendedGetNewCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class FolderExtendedGetNewCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal FolderExtendedGetNewCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public FolderExtendedGetNewResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((FolderExtendedGetNewResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetSecretLegacyCompletedEventHandler(object sender, GetSecretLegacyCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSecretLegacyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetSecretLegacyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetSecretResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetSecretResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetSecretCompletedEventHandler(object sender, GetSecretCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSecretCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetSecretCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetSecretResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetSecretResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetSecretsByFieldValueCompletedEventHandler(object sender, GetSecretsByFieldValueCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSecretsByFieldValueCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetSecretsByFieldValueCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetSecretsByFieldValueResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetSecretsByFieldValueResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void SearchSecretsByFieldValueCompletedEventHandler(object sender, SearchSecretsByFieldValueCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SearchSecretsByFieldValueCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal SearchSecretsByFieldValueCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SearchSecretsResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SearchSecretsResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetSecretsByExposedFieldValueCompletedEventHandler(object sender, GetSecretsByExposedFieldValueCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSecretsByExposedFieldValueCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetSecretsByExposedFieldValueCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetSecretsByFieldValueResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetSecretsByFieldValueResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void SearchSecretsByExposedFieldValueCompletedEventHandler(object sender, SearchSecretsByExposedFieldValueCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SearchSecretsByExposedFieldValueCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal SearchSecretsByExposedFieldValueCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SearchSecretsResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SearchSecretsResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void SearchSecretsByExposedValuesCompletedEventHandler(object sender, SearchSecretsByExposedValuesCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SearchSecretsByExposedValuesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal SearchSecretsByExposedValuesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SearchSecretsResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SearchSecretsResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void SearchSecretsCompletedEventHandler(object sender, SearchSecretsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SearchSecretsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal SearchSecretsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SearchSecretsResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SearchSecretsResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void SearchSecretsLegacyCompletedEventHandler(object sender, SearchSecretsLegacyCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SearchSecretsLegacyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal SearchSecretsLegacyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SearchSecretsResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SearchSecretsResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void SearchSecretsByFolderCompletedEventHandler(object sender, SearchSecretsByFolderCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SearchSecretsByFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal SearchSecretsByFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SearchSecretsResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SearchSecretsResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void SearchSecretsByFolderLegacyCompletedEventHandler(object sender, SearchSecretsByFolderLegacyCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SearchSecretsByFolderLegacyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal SearchSecretsByFolderLegacyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SearchSecretsResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SearchSecretsResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void ExpireSecretCompletedEventHandler(object sender, ExpireSecretCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ExpireSecretCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal ExpireSecretCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetFavoritesCompletedEventHandler(object sender, GetFavoritesCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetFavoritesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetFavoritesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetFavoritesResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetFavoritesResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void UpdateIsFavoriteCompletedEventHandler(object sender, UpdateIsFavoriteCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UpdateIsFavoriteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal UpdateIsFavoriteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void CheckInCompletedEventHandler(object sender, CheckInCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class CheckInCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal CheckInCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void AddSecretCompletedEventHandler(object sender, AddSecretCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AddSecretCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AddSecretCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public AddSecretResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((AddSecretResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void AddNewSecretCompletedEventHandler(object sender, AddNewSecretCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AddNewSecretCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AddNewSecretCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public AddSecretResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((AddSecretResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetNewSecretCompletedEventHandler(object sender, GetNewSecretCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetNewSecretCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetNewSecretCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetSecretResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetSecretResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetSecretTemplateFieldsCompletedEventHandler(object sender, GetSecretTemplateFieldsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSecretTemplateFieldsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetSecretTemplateFieldsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetSecretTemplateFieldsResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetSecretTemplateFieldsResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void UpdateSecretCompletedEventHandler(object sender, UpdateSecretCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UpdateSecretCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal UpdateSecretCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetSecretTemplatesCompletedEventHandler(object sender, GetSecretTemplatesCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSecretTemplatesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetSecretTemplatesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetSecretTemplatesResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetSecretTemplatesResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GeneratePasswordCompletedEventHandler(object sender, GeneratePasswordCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GeneratePasswordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GeneratePasswordCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GeneratePasswordResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GeneratePasswordResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void DeactivateSecretCompletedEventHandler(object sender, DeactivateSecretCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DeactivateSecretCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal DeactivateSecretCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void VersionGetCompletedEventHandler(object sender, VersionGetCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VersionGetCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal VersionGetCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public VersionGetResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((VersionGetResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetCheckOutStatusCompletedEventHandler(object sender, GetCheckOutStatusCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetCheckOutStatusCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetCheckOutStatusCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetCheckOutStatusResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetCheckOutStatusResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetSecretAuditCompletedEventHandler(object sender, GetSecretAuditCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSecretAuditCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetSecretAuditCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetSecretAuditResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetSecretAuditResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void FolderGetCompletedEventHandler(object sender, FolderGetCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class FolderGetCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal FolderGetCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetFolderResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetFolderResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void FolderUpdateCompletedEventHandler(object sender, FolderUpdateCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class FolderUpdateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal FolderUpdateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void FolderGetAllChildrenCompletedEventHandler(object sender, FolderGetAllChildrenCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class FolderGetAllChildrenCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal FolderGetAllChildrenCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetFoldersResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetFoldersResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void SearchFoldersCompletedEventHandler(object sender, SearchFoldersCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SearchFoldersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal SearchFoldersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SearchFolderResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SearchFolderResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void RemoveDependencyCompletedEventHandler(object sender, RemoveDependencyCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class RemoveDependencyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal RemoveDependencyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetDependenciesCompletedEventHandler(object sender, GetDependenciesCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetDependenciesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetDependenciesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetDependenciesResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetDependenciesResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void AddDependencyCompletedEventHandler(object sender, AddDependencyCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AddDependencyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AddDependencyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void CreateDependencyGroupForSecretCompletedEventHandler(object sender, CreateDependencyGroupForSecretCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class CreateDependencyGroupForSecretCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal CreateDependencyGroupForSecretCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetDependencyGroupsForSecretCompletedEventHandler(object sender, GetDependencyGroupsForSecretCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetDependencyGroupsForSecretCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetDependencyGroupsForSecretCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetDependencyGroupsResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetDependencyGroupsResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void UpdateDependencyGroupForSecretCompletedEventHandler(object sender, UpdateDependencyGroupForSecretCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UpdateDependencyGroupForSecretCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal UpdateDependencyGroupForSecretCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void RemoveDependencyGroupForSecretCompletedEventHandler(object sender, RemoveDependencyGroupForSecretCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class RemoveDependencyGroupForSecretCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal RemoveDependencyGroupForSecretCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void DownloadFileAttachmentCompletedEventHandler(object sender, DownloadFileAttachmentCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DownloadFileAttachmentCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal DownloadFileAttachmentCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public FileDownloadResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((FileDownloadResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void DownloadFileAttachmentByItemIdCompletedEventHandler(object sender, DownloadFileAttachmentByItemIdCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DownloadFileAttachmentByItemIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal DownloadFileAttachmentByItemIdCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public FileDownloadResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((FileDownloadResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void UploadFileAttachmentCompletedEventHandler(object sender, UploadFileAttachmentCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UploadFileAttachmentCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal UploadFileAttachmentCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void UploadFileAttachmentByItemIdCompletedEventHandler(object sender, UploadFileAttachmentByItemIdCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UploadFileAttachmentByItemIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal UploadFileAttachmentByItemIdCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void ImportXMLCompletedEventHandler(object sender, ImportXMLCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ImportXMLCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal ImportXMLCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void SetCheckOutEnabledCompletedEventHandler(object sender, SetCheckOutEnabledCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SetCheckOutEnabledCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal SetCheckOutEnabledCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetDistributedEnginesCompletedEventHandler(object sender, GetDistributedEnginesCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetDistributedEnginesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetDistributedEnginesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetSitesResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetSitesResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetTicketSystemsCompletedEventHandler(object sender, GetTicketSystemsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetTicketSystemsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetTicketSystemsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetTicketSystemsResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetTicketSystemsResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void AssignSiteCompletedEventHandler(object sender, AssignSiteCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AssignSiteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AssignSiteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void AddSecretCustomAuditCompletedEventHandler(object sender, AddSecretCustomAuditCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AddSecretCustomAuditCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AddSecretCustomAuditCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void UpdateSecretPermissionCompletedEventHandler(object sender, UpdateSecretPermissionCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UpdateSecretPermissionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal UpdateSecretPermissionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void CheckInByKeyCompletedEventHandler(object sender, CheckInByKeyCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class CheckInByKeyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal CheckInByKeyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void WhoAmICompletedEventHandler(object sender, WhoAmICompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class WhoAmICompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal WhoAmICompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public UserInfoResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((UserInfoResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetAllGroupsCompletedEventHandler(object sender, GetAllGroupsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetAllGroupsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetAllGroupsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetAllGroupsResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetAllGroupsResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void AssignUserToGroupCompletedEventHandler(object sender, AssignUserToGroupCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AssignUserToGroupCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AssignUserToGroupCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetSSHLoginCredentialsCompletedEventHandler(object sender, GetSSHLoginCredentialsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSSHLoginCredentialsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetSSHLoginCredentialsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SSHCredentialsResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SSHCredentialsResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetSSHLoginCredentialsWithMachineCompletedEventHandler(object sender, GetSSHLoginCredentialsWithMachineCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSSHLoginCredentialsWithMachineCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetSSHLoginCredentialsWithMachineCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SSHCredentialsResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SSHCredentialsResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void SearchUsersCompletedEventHandler(object sender, SearchUsersCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SearchUsersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal SearchUsersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetUsersResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetUsersResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetUserCompletedEventHandler(object sender, GetUserCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetUserCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetUserCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetUserResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetUserResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void UpdateUserCompletedEventHandler(object sender, UpdateUserCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UpdateUserCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal UpdateUserCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public UpdateUserResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((UpdateUserResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetSecretItemHistoryByFieldNameCompletedEventHandler(object sender, GetSecretItemHistoryByFieldNameCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSecretItemHistoryByFieldNameCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetSecretItemHistoryByFieldNameCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SecretItemHistoryResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SecretItemHistoryResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetSecretPolicyForSecretCompletedEventHandler(object sender, GetSecretPolicyForSecretCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSecretPolicyForSecretCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetSecretPolicyForSecretCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SecretPolicyForSecretResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SecretPolicyForSecretResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void AssignSecretPolicyForSecretCompletedEventHandler(object sender, AssignSecretPolicyForSecretCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AssignSecretPolicyForSecretCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AssignSecretPolicyForSecretCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SecretPolicyForSecretResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SecretPolicyForSecretResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void SearchSecretPoliciesCompletedEventHandler(object sender, SearchSecretPoliciesCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SearchSecretPoliciesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal SearchSecretPoliciesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SearchSecretPoliciesResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SearchSecretPoliciesResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void RunActiveDirectorySynchronizationCompletedEventHandler(object sender, RunActiveDirectorySynchronizationCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class RunActiveDirectorySynchronizationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal RunActiveDirectorySynchronizationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void AddGroupToActiveDirectorySynchronizationCompletedEventHandler(object sender, AddGroupToActiveDirectorySynchronizationCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AddGroupToActiveDirectorySynchronizationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AddGroupToActiveDirectorySynchronizationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void AddSecretPolicyCompletedEventHandler(object sender, AddSecretPolicyCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AddSecretPolicyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AddSecretPolicyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SecretPolicyResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SecretPolicyResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetNewSecretPolicyCompletedEventHandler(object sender, GetNewSecretPolicyCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetNewSecretPolicyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetNewSecretPolicyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SecretPolicyResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SecretPolicyResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetSSHCommandMenuCompletedEventHandler(object sender, GetSSHCommandMenuCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSSHCommandMenuCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetSSHCommandMenuCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetSshCommandMenuResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetSshCommandMenuResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void SaveSSHCommandMenuCompletedEventHandler(object sender, SaveSSHCommandMenuCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SaveSSHCommandMenuCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal SaveSSHCommandMenuCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetSshCommandMenuResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetSshCommandMenuResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetAllSSHCommandMenusCompletedEventHandler(object sender, GetAllSSHCommandMenusCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetAllSSHCommandMenusCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetAllSSHCommandMenusCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetSshCommandMenusResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetSshCommandMenusResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void DeleteSSHCommandMenuCompletedEventHandler(object sender, DeleteSSHCommandMenuCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DeleteSSHCommandMenuCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal DeleteSSHCommandMenuCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void RestoreSSHCommandMenuCompletedEventHandler(object sender, RestoreSSHCommandMenuCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class RestoreSSHCommandMenuCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal RestoreSSHCommandMenuCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void ValidateTwoFactorCompletedEventHandler(object sender, ValidateTwoFactorCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ValidateTwoFactorCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal ValidateTwoFactorCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetReportCompletedEventHandler(object sender, GetReportCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetReportCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetReportCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetReportResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetReportResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void AddScriptCompletedEventHandler(object sender, AddScriptCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AddScriptCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AddScriptCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WebServiceResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WebServiceResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetAllScriptsCompletedEventHandler(object sender, GetAllScriptsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetAllScriptsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetAllScriptsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetUserScriptsResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetUserScriptsResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void GetScriptCompletedEventHandler(object sender, GetScriptCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetScriptCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetScriptCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GetUserScriptResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GetUserScriptResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + public delegate void UpdateScriptCompletedEventHandler(object sender, UpdateScriptCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UpdateScriptCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal UpdateScriptCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public UpdateUserScriptResult Result { + get { + this.RaiseExceptionIfNecessary(); + return ((UpdateUserScriptResult)(this.results[0])); + } + } + } +} + +#pragma warning restore 1591 \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/Reference.map b/SecretServerInterface/Web References/SSWebServiceWinAuth/Reference.map new file mode 100644 index 00000000..aea42ec9 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/Reference.map @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/RequestApprovalResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/RequestApprovalResult.datasource new file mode 100644 index 00000000..d4db4b22 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/RequestApprovalResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.RequestApprovalResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/SSHCredentialsResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/SSHCredentialsResult.datasource new file mode 100644 index 00000000..81e4cc52 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/SSHCredentialsResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.SSHCredentialsResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/SSWinAuthWebService.disco b/SecretServerInterface/Web References/SSWebServiceWinAuth/SSWinAuthWebService.disco new file mode 100644 index 00000000..d8f4cc1c --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/SSWinAuthWebService.disco @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/SSWinAuthWebService.wsdl b/SecretServerInterface/Web References/SSWebServiceWinAuth/SSWinAuthWebService.wsdl new file mode 100644 index 00000000..2c1afd14 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/SSWinAuthWebService.wsdl @@ -0,0 +1,7070 @@ + + + Webservice for windows authentication. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Webservice for windows authentication. + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/SearchFolderResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/SearchFolderResult.datasource new file mode 100644 index 00000000..45bd3c65 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/SearchFolderResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.SearchFolderResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/SearchSecretPoliciesResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/SearchSecretPoliciesResult.datasource new file mode 100644 index 00000000..bbda4c7d --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/SearchSecretPoliciesResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.SearchSecretPoliciesResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/SearchSecretsResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/SearchSecretsResult.datasource new file mode 100644 index 00000000..d31de457 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/SearchSecretsResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.SearchSecretsResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/SecretItemHistoryResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/SecretItemHistoryResult.datasource new file mode 100644 index 00000000..461abd94 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/SecretItemHistoryResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.SecretItemHistoryResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/SecretPolicyForSecretResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/SecretPolicyForSecretResult.datasource new file mode 100644 index 00000000..382ea5ae --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/SecretPolicyForSecretResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.SecretPolicyForSecretResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/SecretPolicyResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/SecretPolicyResult.datasource new file mode 100644 index 00000000..6d82b3d7 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/SecretPolicyResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.SecretPolicyResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/UpdateUserResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/UpdateUserResult.datasource new file mode 100644 index 00000000..0b7ef715 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/UpdateUserResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.UpdateUserResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/UpdateUserScriptResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/UpdateUserScriptResult.datasource new file mode 100644 index 00000000..f8e27ac4 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/UpdateUserScriptResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.UpdateUserScriptResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/UserInfoResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/UserInfoResult.datasource new file mode 100644 index 00000000..b45f6039 --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/UserInfoResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.UserInfoResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/VersionGetResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/VersionGetResult.datasource new file mode 100644 index 00000000..48dac8be --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/VersionGetResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.VersionGetResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/Web References/SSWebServiceWinAuth/WebServiceResult.datasource b/SecretServerInterface/Web References/SSWebServiceWinAuth/WebServiceResult.datasource new file mode 100644 index 00000000..3699050d --- /dev/null +++ b/SecretServerInterface/Web References/SSWebServiceWinAuth/WebServiceResult.datasource @@ -0,0 +1,10 @@ + + + + SecretServerInterface.SSWebServiceWinAuth.WebServiceResult, Web References.SSWebServiceWinAuth.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/SecretServerInterface/app.config b/SecretServerInterface/app.config new file mode 100644 index 00000000..5df4e092 --- /dev/null +++ b/SecretServerInterface/app.config @@ -0,0 +1,20 @@ + + + + +
+ + + + + + https://cred.domain.local/SecretServer/webservices/SSWebService.asmx + + + https://cred.sit.local/SecretServer/winauthwebservices/SSWinAuthWebService.asmx + + + + diff --git a/mRemoteNG.sln b/mRemoteNG.sln index 86d0d2f3..450d4ced 100644 --- a/mRemoteNG.sln +++ b/mRemoteNG.sln @@ -18,6 +18,8 @@ Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "Installer", "mRemoteNGInsta EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mRemoteNGSpecs", "mRemoteNGSpecs\mRemoteNGSpecs.csproj", "{16AA21E2-D6B7-427D-AB7D-AA8C611B724E}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SecretServerInterface", "SecretServerInterface\SecretServerInterface.csproj", "{CBEEE1A0-B917-4F61-812B-85C4C15E80FC}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug Portable|Any CPU = Debug Portable|Any CPU @@ -118,6 +120,26 @@ Global {16AA21E2-D6B7-427D-AB7D-AA8C611B724E}.Release|Any CPU.ActiveCfg = Release|x86 {16AA21E2-D6B7-427D-AB7D-AA8C611B724E}.Release|x86.ActiveCfg = Release|x86 {16AA21E2-D6B7-427D-AB7D-AA8C611B724E}.Release|x86.Build.0 = Release|x86 + {CBEEE1A0-B917-4F61-812B-85C4C15E80FC}.Debug Portable|Any CPU.ActiveCfg = Debug|Any CPU + {CBEEE1A0-B917-4F61-812B-85C4C15E80FC}.Debug Portable|Any CPU.Build.0 = Debug|Any CPU + {CBEEE1A0-B917-4F61-812B-85C4C15E80FC}.Debug Portable|x86.ActiveCfg = Debug|Any CPU + {CBEEE1A0-B917-4F61-812B-85C4C15E80FC}.Debug Portable|x86.Build.0 = Debug|Any CPU + {CBEEE1A0-B917-4F61-812B-85C4C15E80FC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CBEEE1A0-B917-4F61-812B-85C4C15E80FC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CBEEE1A0-B917-4F61-812B-85C4C15E80FC}.Debug|x86.ActiveCfg = Debug|Any CPU + {CBEEE1A0-B917-4F61-812B-85C4C15E80FC}.Debug|x86.Build.0 = Debug|Any CPU + {CBEEE1A0-B917-4F61-812B-85C4C15E80FC}.Release Installer|Any CPU.ActiveCfg = Release|Any CPU + {CBEEE1A0-B917-4F61-812B-85C4C15E80FC}.Release Installer|Any CPU.Build.0 = Release|Any CPU + {CBEEE1A0-B917-4F61-812B-85C4C15E80FC}.Release Installer|x86.ActiveCfg = Release|Any CPU + {CBEEE1A0-B917-4F61-812B-85C4C15E80FC}.Release Installer|x86.Build.0 = Release|Any CPU + {CBEEE1A0-B917-4F61-812B-85C4C15E80FC}.Release Portable|Any CPU.ActiveCfg = Release|Any CPU + {CBEEE1A0-B917-4F61-812B-85C4C15E80FC}.Release Portable|Any CPU.Build.0 = Release|Any CPU + {CBEEE1A0-B917-4F61-812B-85C4C15E80FC}.Release Portable|x86.ActiveCfg = Release|Any CPU + {CBEEE1A0-B917-4F61-812B-85C4C15E80FC}.Release Portable|x86.Build.0 = Release|Any CPU + {CBEEE1A0-B917-4F61-812B-85C4C15E80FC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CBEEE1A0-B917-4F61-812B-85C4C15E80FC}.Release|Any CPU.Build.0 = Release|Any CPU + {CBEEE1A0-B917-4F61-812B-85C4C15E80FC}.Release|x86.ActiveCfg = Release|Any CPU + {CBEEE1A0-B917-4F61-812B-85C4C15E80FC}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/mRemoteNG/Connection/Protocol/PuttyBase.cs b/mRemoteNG/Connection/Protocol/PuttyBase.cs index 45afdeac..d20d7c72 100644 --- a/mRemoteNG/Connection/Protocol/PuttyBase.cs +++ b/mRemoteNG/Connection/Protocol/PuttyBase.cs @@ -11,6 +11,7 @@ using System.Threading; using System.Windows.Forms; using mRemoteNG.Properties; using mRemoteNG.Resources.Language; +using SecretServerInterface; // ReSharper disable ArrangeAccessorOwnerBody @@ -114,6 +115,20 @@ namespace mRemoteNG.Connection.Protocol } } + // access secret server api if necessary + if (username.StartsWith("SSAPI:")) + { + var domain = ""; // dummy + try + { + SecretServerInterface.SecretServerInterface.fetchSecretFromServer(username, out username, out password, out domain); + } + catch (Exception ex) + { + Event_ErrorOccured(this, "Secret Server Interface Error: " + ex.Message, 0); + } + } + arguments.Add("-" + (int)PuttySSHVersion); if (!Force.HasFlag(ConnectionInfo.Force.NoCredentials)) diff --git a/mRemoteNG/Connection/Protocol/RDP/RdpProtocol6.cs b/mRemoteNG/Connection/Protocol/RDP/RdpProtocol6.cs index 502c461a..729352f8 100644 --- a/mRemoteNG/Connection/Protocol/RDP/RdpProtocol6.cs +++ b/mRemoteNG/Connection/Protocol/RDP/RdpProtocol6.cs @@ -461,6 +461,20 @@ namespace mRemoteNG.Connection.Protocol.RDP var password = connectionInfo?.Password ?? ""; var domain = connectionInfo?.Domain ?? ""; + // access secret server api if necessary + if (userName.StartsWith("SSAPI:")) + { + try + { + SecretServerInterface.SecretServerInterface.fetchSecretFromServer(userName, out userName, out password, out domain); + } + catch (Exception ex) + { + Event_ErrorOccured(this, "Secret Server Interface Error: " + ex.Message, 0); + } + + } + if (string.IsNullOrEmpty(userName)) { if (Settings.Default.EmptyCredentials == "windows") diff --git a/mRemoteNG/mRemoteNG.csproj b/mRemoteNG/mRemoteNG.csproj index be276f44..74116d51 100644 --- a/mRemoteNG/mRemoteNG.csproj +++ b/mRemoteNG/mRemoteNG.csproj @@ -1412,6 +1412,12 @@ False + + + {CBEEE1A0-B917-4F61-812B-85C4C15E80FC} + SecretServerInterface + + :: When passing paths to powershell scripts, check if the path ends with a backslash "\" :: If it does, then the backslash may be interpreted as an escape character. Add another backslash to cancel the first one.