diff --git a/WebsitePanel/Database/update_db.sql b/WebsitePanel/Database/update_db.sql
index 8829cb8d..910ae546 100644
--- a/WebsitePanel/Database/update_db.sql
+++ b/WebsitePanel/Database/update_db.sql
@@ -9459,4 +9459,147 @@ BEGIN
(SELECT TOP 1 @item_type_id, @group_id, 'SharePointSiteCollection', TypeName, 100, CalculateDiskSpace, CalculateBandwidth, Suspendable, Disposable, Searchable, Importable, Backupable FROM [dbo].[ServiceItemTypes] WHERE DisplayName = 'SharePointFoundationSiteCollection')
END
-GO
\ No newline at end of file
+GO
+
+
+
+
+
+
+-- USER PASSWORD EXPIRATION NOTIFICATION tasks
+
+IF NOT EXISTS (SELECT * FROM [dbo].[ScheduleTasks] WHERE [TaskID] = N'SCHEDULE_TASK_USER_PASSWORD_EXPIRATION_NOTIFICATION')
+BEGIN
+INSERT [dbo].[ScheduleTasks] ([TaskID], [TaskType], [RoleID]) VALUES (N'SCHEDULE_TASK_USER_PASSWORD_EXPIRATION_NOTIFICATION', N'WebsitePanel.EnterpriseServer.UserPasswordExpirationNotificationTask, WebsitePanel.EnterpriseServer.Code', 1)
+END
+GO
+
+IF NOT EXISTS (SELECT * FROM [dbo].[ScheduleTaskViewConfiguration] WHERE [TaskID] = N'SCHEDULE_TASK_USER_PASSWORD_EXPIRATION_NOTIFICATION')
+BEGIN
+INSERT [dbo].[ScheduleTaskViewConfiguration] ([TaskID], [ConfigurationID], [Environment], [Description]) VALUES (N'SCHEDULE_TASK_USER_PASSWORD_EXPIRATION_NOTIFICATION', N'ASP_NET', N'ASP.NET', N'~/DesktopModules/WebsitePanel/ScheduleTaskControls/UserPasswordExpirationNotificationView.ascx')
+END
+GO
+
+IF NOT EXISTS (SELECT * FROM [dbo].[ScheduleTaskParameters] WHERE [TaskID] = N'SCHEDULE_TASK_USER_PASSWORD_EXPIRATION_NOTIFICATION' AND [ParameterID]= N'DAYS_BEFORE_EXPIRATION' )
+BEGIN
+INSERT [dbo].[ScheduleTaskParameters] ([TaskID], [ParameterID], [DataTypeID], [DefaultValue], [ParameterOrder]) VALUES (N'SCHEDULE_TASK_USER_PASSWORD_EXPIRATION_NOTIFICATION', N'DAYS_BEFORE_EXPIRATION', N'String', NULL, 1)
+END
+GO
+
+
+-- USER PASSWORD EXPIRATION EMAIL TEMPLATE
+
+
+IF NOT EXISTS (SELECT * FROM [dbo].[UserSettings] WHERE [UserID] = 1 AND [SettingsName]= N'UserPasswordExpirationLetter' AND [PropertyName]= N'WebDavPortalResetUrl' )
+BEGIN
+INSERT [dbo].[UserSettings] ([UserID], [SettingsName], [PropertyName], [PropertyValue]) VALUES (1, N'UserPasswordExpirationLetter', N'WebDavPortalResetUrl', N'http://webdav.virtuworks.net/')
+END
+GO
+IF NOT EXISTS (SELECT * FROM [dbo].[UserSettings] WHERE [UserID] = 1 AND [SettingsName]= N'UserPasswordExpirationLetter' AND [PropertyName]= N'From' )
+BEGIN
+INSERT [dbo].[UserSettings] ([UserID], [SettingsName], [PropertyName], [PropertyValue]) VALUES (1, N'UserPasswordExpirationLetter', N'From', N'support@HostingCompany.com')
+END
+GO
+
+DECLARE @UserPasswordExpirationLetterHtmlBody nvarchar(2500)
+
+Set @UserPasswordExpirationLetterHtmlBody = N'
+
+ Password expiration notification
+
+
+
+
+
+
Password expiration notification
+
+
+
+Hello #user.FirstName#,
+
+
+
+
+Your password will expire at #user.PasswordExpirationDateTime#. You can reset your own password by visiting the following page:
+
+
+
#passwordResetLink#
+
+
+
+If you have any questions regarding your hosting account, feel free to contact our support department at any time.
+
+
+
+Best regards
+
+
+';
+
+IF NOT EXISTS (SELECT * FROM [dbo].[UserSettings] WHERE [UserID] = 1 AND [SettingsName]= N'UserPasswordExpirationLetter' AND [PropertyName]= N'HtmlBody' )
+BEGIN
+INSERT [dbo].[UserSettings] ([UserID], [SettingsName], [PropertyName], [PropertyValue]) VALUES (1, N'UserPasswordExpirationLetter', N'HtmlBody', @UserPasswordExpirationLetterHtmlBody)
+END
+ELSE
+UPDATE [dbo].[UserSettings] SET [PropertyValue] = @UserPasswordExpirationLetterHtmlBody WHERE [UserID] = 1 AND [SettingsName]= N'UserPasswordExpirationLetter' AND [PropertyName]= N'HtmlBody'
+GO
+
+
+IF NOT EXISTS (SELECT * FROM [dbo].[UserSettings] WHERE [UserID] = 1 AND [SettingsName]= N'UserPasswordExpirationLetter' AND [PropertyName]= N'Priority' )
+BEGIN
+INSERT [dbo].[UserSettings] ([UserID], [SettingsName], [PropertyName], [PropertyValue]) VALUES (1, N'UserPasswordExpirationLetter', N'Priority', N'Normal')
+END
+GO
+IF NOT EXISTS (SELECT * FROM [dbo].[UserSettings] WHERE [UserID] = 1 AND [SettingsName]= N'UserPasswordExpirationLetter' AND [PropertyName]= N'Subject' )
+BEGIN
+INSERT [dbo].[UserSettings] ([UserID], [SettingsName], [PropertyName], [PropertyValue]) VALUES (1, N'UserPasswordExpirationLetter', N'Subject', N'Password expiration notification')
+END
+GO
+IF NOT EXISTS (SELECT * FROM [dbo].[UserSettings] WHERE [UserID] = 1 AND [SettingsName]= N'UserPasswordExpirationLetter' AND [PropertyName]= N'LogoUrl' )
+BEGIN
+INSERT [dbo].[UserSettings] ([UserID], [SettingsName], [PropertyName], [PropertyValue]) VALUES (1, N'UserPasswordExpirationLetter', N'LogoUrl', N'https://controlpanel.virtuworks.net/App_Themes/Default/Images/logo.png')
+END
+GO
+
+
+DECLARE @UserPasswordExpirationLetterTextBody nvarchar(2500)
+
+Set @UserPasswordExpirationLetterTextBody = N'=========================================
+ Password expiration notification
+=========================================
+
+
+Hello #user.FirstName#,
+
+
+Your password will expire at #user.PasswordExpirationDateTime#. You can reset your own password by visiting the following page:
+
+#passwordResetLink#
+
+If you have any questions regarding your hosting account, feel free to contact our support department at any time.
+
+Best regards'
+
+IF NOT EXISTS (SELECT * FROM [dbo].[UserSettings] WHERE [UserID] = 1 AND [SettingsName]= N'UserPasswordExpirationLetter' AND [PropertyName]= N'TextBody' )
+BEGIN
+INSERT [dbo].[UserSettings] ([UserID], [SettingsName], [PropertyName], [PropertyValue]) VALUES (1, N'UserPasswordExpirationLetter', N'TextBody', @UserPasswordExpirationLetterTextBody)
+END
+ELSE
+UPDATE [dbo].[UserSettings] SET [PropertyValue] = @UserPasswordExpirationLetterTextBody WHERE [UserID] = 1 AND [SettingsName]= N'UserPasswordExpirationLetter' AND [PropertyName]= N'TextBody'
+GO
+
diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Base/Users/UserSettings.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Base/Users/UserSettings.cs
index 251d5dbf..6740094f 100644
--- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Base/Users/UserSettings.cs
+++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Base/Users/UserSettings.cs
@@ -65,6 +65,8 @@ namespace WebsitePanel.EnterpriseServer
public const string DEFAULT_LYNCUSERPLANS = "DefaultLyncUserPlans";
public const string RDS_SETUP_LETTER = "RDSSetupLetter";
public const string RDS_POLICY = "RdsPolicy";
+ public const string USER_PASSWORD_EXPIRATION_LETTER = "UserPasswordExpirationLetter";
+
public int UserId;
public string SettingsName;
diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/HostedSolution/OrganizationController.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/HostedSolution/OrganizationController.cs
index 57d9ea5f..61590314 100644
--- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/HostedSolution/OrganizationController.cs
+++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/HostedSolution/OrganizationController.cs
@@ -1494,7 +1494,65 @@ namespace WebsitePanel.EnterpriseServer
return result;
}
+ public static List GetOrganizationUsersWithExpiredPassword(int itemId, int daysBeforeExpiration)
+ {
+ // load organization
+ Organization org = GetOrganization(itemId);
+ if (org == null)
+ {
+ return null;
+ }
+
+ Organizations orgProxy = GetOrganizationProxy(org.ServiceId);
+
+ var expiredUsersAd = orgProxy.GetOrganizationUsersWithExpiredPassword(org.OrganizationId, daysBeforeExpiration);
+
+ var expiredUsersDb = GetOrganizationUsersPaged(itemId, null, null, null, 0, int.MaxValue).PageUsers.Where(x => expiredUsersAd.Any(z => z.SamAccountName == x.SamAccountName)).ToList();
+
+ foreach (var user in expiredUsersDb)
+ {
+ var adUser = expiredUsersAd.First(x => x.SamAccountName == user.SamAccountName);
+
+ user.PasswordExpirationDateTime = adUser.PasswordExpirationDateTime;
+ }
+
+ return expiredUsersDb;
+ }
+
+ public static void SendResetUserPasswordEmail(UserInfo owner, OrganizationUser user, string mailTo, string logoUrl)
+ {
+ UserSettings settings = UserController.GetUserSettings(owner.UserId, UserSettings.USER_PASSWORD_EXPIRATION_LETTER);
+
+ if (string.IsNullOrEmpty(logoUrl))
+ {
+ logoUrl = settings["LogoUrl"];
+ }
+
+ string from = settings["From"];
+
+ string subject = settings["Subject"];
+ string body = owner.HtmlMail ? settings["HtmlBody"] : settings["TextBody"];
+ bool isHtml = owner.HtmlMail;
+
+ MailPriority priority = MailPriority.Normal;
+
+ if (!String.IsNullOrEmpty(settings["Priority"]))
+ {
+ priority = (MailPriority)Enum.Parse(typeof(MailPriority), settings["Priority"], true);
+ }
+
+ Hashtable items = new Hashtable();
+
+ items["user"] = user;
+ items["logoUrl"] = logoUrl;
+ items["passwordResetLink"] = "reset link";
+
+ body = PackageController.EvaluateTemplate(body, items);
+
+ // send mail message
+ //MailHelper.SendMessage(from, mailTo, string.Empty, subject, body, priority, isHtml);
+ }
private static bool EmailAddressExists(string emailAddress)
{
diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/SchedulerTasks/UserPasswordExpirationNotificationTask.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/SchedulerTasks/UserPasswordExpirationNotificationTask.cs
new file mode 100644
index 00000000..debd1ee4
--- /dev/null
+++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/SchedulerTasks/UserPasswordExpirationNotificationTask.cs
@@ -0,0 +1,63 @@
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net.Mail;
+using WebsitePanel.Providers.HostedSolution;
+
+namespace WebsitePanel.EnterpriseServer
+{
+ public class UserPasswordExpirationNotificationTask : SchedulerTask
+ {
+ private static readonly string TaskId = "SCHEDULE_TASK_DOMAIN_EXPIRATION";
+
+ // Input parameters:
+ private static readonly string DaysBeforeNotify = "DAYS_BEFORE_EXPIRATION";
+
+ public override void DoWork()
+ {
+ BackgroundTask topTask = TaskManager.TopTask;
+
+ int daysBeforeNotify;
+
+ // check input parameters
+ if (!int.TryParse((string)topTask.GetParamValue(DaysBeforeNotify), out daysBeforeNotify))
+ {
+ TaskManager.WriteWarning("Specify 'Notify before (days)' task parameter");
+ return;
+ }
+
+ var owner = UserController.GetUser(topTask.EffectiveUserId);
+
+ var packages = PackageController.GetMyPackages(topTask.EffectiveUserId);
+
+ foreach (var package in packages)
+ {
+ var organizations = ExchangeServerController.GetExchangeOrganizations(package.PackageId, true);
+
+ foreach (var organization in organizations)
+ {
+ var usersWithExpiredPasswords = OrganizationController.GetOrganizationUsersWithExpiredPassword(organization.Id, daysBeforeNotify);
+
+ foreach (var user in usersWithExpiredPasswords)
+ {
+ if (string.IsNullOrEmpty(user.PrimaryEmailAddress))
+ {
+ TaskManager.WriteWarning(string.Format("Unable to send email to {0} user (organization: {1}), user primary email address is not set.", user.DisplayName, organization.OrganizationId));
+ continue;
+ }
+
+ TaskManager.Write(string.Format("Email sent to {0} user (organization: {1}).", user.DisplayName, organization.OrganizationId));
+
+ OrganizationController.SendResetUserPasswordEmail(owner, user, user.PrimaryEmailAddress, string.Empty);
+ }
+ }
+ }
+
+ // send mail message
+ // MailHelper.SendMessage(mailFrom, mailTo, mailSubject, mailBody, false);
+ }
+
+
+ }
+}
\ No newline at end of file
diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/WebsitePanel.EnterpriseServer.Code.csproj b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/WebsitePanel.EnterpriseServer.Code.csproj
index 58c17bbf..cc5a9f03 100644
--- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/WebsitePanel.EnterpriseServer.Code.csproj
+++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/WebsitePanel.EnterpriseServer.Code.csproj
@@ -158,6 +158,7 @@
+
diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Base/HostedSolution/IOrganization.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Base/HostedSolution/IOrganization.cs
index ea66403f..99e2c637 100644
--- a/WebsitePanel/Sources/WebsitePanel.Providers.Base/HostedSolution/IOrganization.cs
+++ b/WebsitePanel/Sources/WebsitePanel.Providers.Base/HostedSolution/IOrganization.cs
@@ -26,6 +26,7 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+using System.Collections.Generic;
using WebsitePanel.Providers.OS;
using WebsitePanel.Providers.ResultObjects;
@@ -96,5 +97,7 @@ namespace WebsitePanel.Providers.HostedSolution
void SetDriveMapsTargetingFilter(string organizationId, ExchangeAccount[] accounts, string folderName);
void ChangeDriveMapFolderPath(string organizationId, string oldFolder, string newFolder);
+
+ List GetOrganizationUsersWithExpiredPassword(string organizationId, int daysBeforeExpiration);
}
}
diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Base/HostedSolution/OrganizationUser.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Base/HostedSolution/OrganizationUser.cs
index b0c18b83..5a1dfb5d 100644
--- a/WebsitePanel/Sources/WebsitePanel.Providers.Base/HostedSolution/OrganizationUser.cs
+++ b/WebsitePanel/Sources/WebsitePanel.Providers.Base/HostedSolution/OrganizationUser.cs
@@ -334,5 +334,7 @@ namespace WebsitePanel.Providers.HostedSolution
get { return userMustChangePassword; }
set { userMustChangePassword = value; }
}
+
+ public DateTime PasswordExpirationDateTime { get; set; }
}
}
diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/OrganizationProvider.cs b/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/OrganizationProvider.cs
index 44ee8db4..26d4dfb8 100644
--- a/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/OrganizationProvider.cs
+++ b/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/OrganizationProvider.cs
@@ -27,6 +27,7 @@
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
using System;
+using System.DirectoryServices.ActiveDirectory;
using System.IO;
using System.Xml;
using System.Linq;
@@ -480,6 +481,77 @@ namespace WebsitePanel.Providers.HostedSolution
return Errors.OK;
}
+ public List GetOrganizationUsersWithExpiredPassword(string organizationId, int daysBeforeExpiration)
+ {
+ return GetOrganizationUsersWithExpiredPasswordInternal(organizationId, daysBeforeExpiration);
+ }
+
+ internal List GetOrganizationUsersWithExpiredPasswordInternal(string organizationId, int daysBeforeExpiration)
+ {
+ var result = new List();
+
+ var maxPasswordAgeSpan = GetMaxPasswordAge();
+
+ var searchRoot = new DirectoryEntry(GetOrganizationPath(organizationId));
+
+ var search = new DirectorySearcher(searchRoot)
+ {
+ SearchScope = SearchScope.Subtree,
+ Filter = "(objectClass=user)"
+ };
+
+ search.PropertiesToLoad.Add("pwdLastSet");
+ search.PropertiesToLoad.Add("sAMAccountName");
+
+ SearchResultCollection searchResults = search.FindAll();
+
+ foreach (SearchResult searchResult in searchResults)
+ {
+ var pwdLastSetTicks = (long)searchResult.Properties["pwdLastSet"][0];
+
+ var pwdLastSetDate = DateTime.FromFileTimeUtc(pwdLastSetTicks);
+
+ var expirationDate = pwdLastSetDate.AddDays(maxPasswordAgeSpan.Days);
+
+ if (pwdLastSetDate > expirationDate.AddDays(-daysBeforeExpiration))
+ {
+ var user = new OrganizationUser();
+
+ user.PasswordExpirationDateTime = expirationDate;
+ user.SamAccountName = (string)searchResult.Properties["sAMAccountName"][0];
+
+ result.Add(user);
+ }
+ }
+
+ return result;
+ }
+
+ internal TimeSpan GetMaxPasswordAge()
+ {
+ using (Domain d = Domain.GetCurrentDomain())
+ {
+ using (DirectoryEntry domain = d.GetDirectoryEntry())
+ {
+ DirectorySearcher ds = new DirectorySearcher(
+ domain,
+ "(objectClass=*)",
+ null,
+ SearchScope.Base
+ );
+
+ SearchResult sr = ds.FindOne();
+
+ if (sr != null && sr.Properties.Contains("maxPwdAge"))
+ {
+ return TimeSpan.FromTicks((long)sr.Properties["maxPwdAge"][0]).Duration();
+ }
+
+ throw new Exception("'maxPwdAge' property not found.");
+ }
+ }
+ }
+
public PasswordPolicyResult GetPasswordPolicy()
{
return GetPasswordPolicyInternal();
diff --git a/WebsitePanel/Sources/WebsitePanel.Server.Client/OrganizationProxy.cs b/WebsitePanel/Sources/WebsitePanel.Server.Client/OrganizationProxy.cs
index fa24e922..ef15952c 100644
--- a/WebsitePanel/Sources/WebsitePanel.Server.Client/OrganizationProxy.cs
+++ b/WebsitePanel/Sources/WebsitePanel.Server.Client/OrganizationProxy.cs
@@ -1,39 +1,7 @@
-// Copyright (c) 2015, Outercurve Foundation.
-// All rights reserved.
-//
-// Redistribution and use in source and binary forms, with or without modification,
-// are permitted provided that the following conditions are met:
-//
-// - Redistributions of source code must retain the above copyright notice, this
-// list of conditions and the following disclaimer.
-//
-// - Redistributions in binary form must reproduce the above copyright notice,
-// this list of conditions and the following disclaimer in the documentation
-// and/or other materials provided with the distribution.
-//
-// - Neither the name of the Outercurve Foundation nor the names of its
-// contributors may be used to endorse or promote products derived from this
-// software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
-// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
-// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-using WebsitePanel.Providers.ResultObjects;
-using WebsitePanel.Providers.OS;
-using WebsitePanel.Providers.Common;
-
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
-// Runtime Version:2.0.50727.5466
+// Runtime Version:2.0.50727.7905
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -41,329 +9,311 @@ using WebsitePanel.Providers.Common;
//------------------------------------------------------------------------------
//
-// This source code was auto-generated by wsdl, Version=2.0.50727.42.
+// This source code was auto-generated by wsdl, Version=2.0.50727.3038.
//
-namespace WebsitePanel.Providers.HostedSolution
-{
+
+using WebsitePanel.Providers.Common;
+using WebsitePanel.Providers.OS;
+using WebsitePanel.Providers.ResultObjects;
+
+namespace WebsitePanel.Providers.HostedSolution {
using System.Xml.Serialization;
using System.Web.Services;
using System.ComponentModel;
using System.Web.Services.Protocols;
using System;
using System.Diagnostics;
-
-
+
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Web.Services.WebServiceBindingAttribute(Name = "OrganizationsSoap", Namespace = "http://tempuri.org/")]
+ [System.Web.Services.WebServiceBindingAttribute(Name="OrganizationsSoap", Namespace="http://tempuri.org/")]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(ResultObject))]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(ServiceProviderItem))]
- public partial class Organizations : Microsoft.Web.Services3.WebServicesClientProtocol
- {
-
+ public partial class Organizations : Microsoft.Web.Services3.WebServicesClientProtocol {
+
public ServiceProviderSettingsSoapHeader ServiceProviderSettingsSoapHeaderValue;
-
+
private System.Threading.SendOrPostCallback OrganizationExistsOperationCompleted;
-
+
private System.Threading.SendOrPostCallback CreateOrganizationOperationCompleted;
-
+
private System.Threading.SendOrPostCallback DeleteOrganizationOperationCompleted;
-
+
private System.Threading.SendOrPostCallback CreateUserOperationCompleted;
-
+
private System.Threading.SendOrPostCallback DisableUserOperationCompleted;
-
+
private System.Threading.SendOrPostCallback DeleteUserOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GetUserGeneralSettingsOperationCompleted;
-
+
private System.Threading.SendOrPostCallback CreateSecurityGroupOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GetSecurityGroupGeneralSettingsOperationCompleted;
-
+
private System.Threading.SendOrPostCallback DeleteSecurityGroupOperationCompleted;
-
+
private System.Threading.SendOrPostCallback SetSecurityGroupGeneralSettingsOperationCompleted;
-
+
private System.Threading.SendOrPostCallback AddObjectToSecurityGroupOperationCompleted;
-
+
private System.Threading.SendOrPostCallback DeleteObjectFromSecurityGroupOperationCompleted;
-
+
private System.Threading.SendOrPostCallback SetUserGeneralSettingsOperationCompleted;
-
+
private System.Threading.SendOrPostCallback SetUserPasswordOperationCompleted;
-
+
private System.Threading.SendOrPostCallback SetUserPrincipalNameOperationCompleted;
-
+
private System.Threading.SendOrPostCallback DeleteOrganizationDomainOperationCompleted;
-
+
private System.Threading.SendOrPostCallback CreateOrganizationDomainOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GetPasswordPolicyOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GetSamAccountNameByUserPrincipalNameOperationCompleted;
-
+
private System.Threading.SendOrPostCallback DoesSamAccountNameExistOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GetDriveMapsOperationCompleted;
-
+
private System.Threading.SendOrPostCallback CreateMappedDriveOperationCompleted;
-
+
private System.Threading.SendOrPostCallback DeleteMappedDriveOperationCompleted;
-
+
private System.Threading.SendOrPostCallback DeleteMappedDriveByPathOperationCompleted;
-
+
private System.Threading.SendOrPostCallback DeleteMappedDrivesGPOOperationCompleted;
-
+
private System.Threading.SendOrPostCallback SetDriveMapsTargetingFilterOperationCompleted;
-
+
private System.Threading.SendOrPostCallback ChangeDriveMapFolderPathOperationCompleted;
-
+
+ private System.Threading.SendOrPostCallback GetOrganizationUsersWithExpiredPasswordOperationCompleted;
+
///
- public Organizations()
- {
- this.Url = "http://localhost:9004/Organizations.asmx";
+ public Organizations() {
+ this.Url = "http://localhost:9003/Organizations.asmx";
}
-
+
///
public event OrganizationExistsCompletedEventHandler OrganizationExistsCompleted;
-
+
///
public event CreateOrganizationCompletedEventHandler CreateOrganizationCompleted;
-
+
///
public event DeleteOrganizationCompletedEventHandler DeleteOrganizationCompleted;
-
+
///
public event CreateUserCompletedEventHandler CreateUserCompleted;
-
+
///
public event DisableUserCompletedEventHandler DisableUserCompleted;
-
+
///
public event DeleteUserCompletedEventHandler DeleteUserCompleted;
-
+
///
public event GetUserGeneralSettingsCompletedEventHandler GetUserGeneralSettingsCompleted;
-
+
///
public event CreateSecurityGroupCompletedEventHandler CreateSecurityGroupCompleted;
-
+
///
public event GetSecurityGroupGeneralSettingsCompletedEventHandler GetSecurityGroupGeneralSettingsCompleted;
-
+
///
public event DeleteSecurityGroupCompletedEventHandler DeleteSecurityGroupCompleted;
-
+
///
public event SetSecurityGroupGeneralSettingsCompletedEventHandler SetSecurityGroupGeneralSettingsCompleted;
-
+
///
public event AddObjectToSecurityGroupCompletedEventHandler AddObjectToSecurityGroupCompleted;
-
+
///
public event DeleteObjectFromSecurityGroupCompletedEventHandler DeleteObjectFromSecurityGroupCompleted;
-
+
///
public event SetUserGeneralSettingsCompletedEventHandler SetUserGeneralSettingsCompleted;
-
+
///
public event SetUserPasswordCompletedEventHandler SetUserPasswordCompleted;
-
+
///
public event SetUserPrincipalNameCompletedEventHandler SetUserPrincipalNameCompleted;
-
+
///
public event DeleteOrganizationDomainCompletedEventHandler DeleteOrganizationDomainCompleted;
-
+
///
public event CreateOrganizationDomainCompletedEventHandler CreateOrganizationDomainCompleted;
-
+
///
public event GetPasswordPolicyCompletedEventHandler GetPasswordPolicyCompleted;
-
+
///
public event GetSamAccountNameByUserPrincipalNameCompletedEventHandler GetSamAccountNameByUserPrincipalNameCompleted;
-
+
///
public event DoesSamAccountNameExistCompletedEventHandler DoesSamAccountNameExistCompleted;
-
+
///
public event GetDriveMapsCompletedEventHandler GetDriveMapsCompleted;
-
+
///
public event CreateMappedDriveCompletedEventHandler CreateMappedDriveCompleted;
-
+
///
public event DeleteMappedDriveCompletedEventHandler DeleteMappedDriveCompleted;
-
+
///
public event DeleteMappedDriveByPathCompletedEventHandler DeleteMappedDriveByPathCompleted;
-
+
///
public event DeleteMappedDrivesGPOCompletedEventHandler DeleteMappedDrivesGPOCompleted;
-
+
///
public event SetDriveMapsTargetingFilterCompletedEventHandler SetDriveMapsTargetingFilterCompleted;
-
+
///
public event ChangeDriveMapFolderPathCompletedEventHandler ChangeDriveMapFolderPathCompleted;
-
+
+ ///
+ public event GetOrganizationUsersWithExpiredPasswordCompletedEventHandler GetOrganizationUsersWithExpiredPasswordCompleted;
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/OrganizationExists", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public bool OrganizationExists(string organizationId)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/OrganizationExists", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public bool OrganizationExists(string organizationId) {
object[] results = this.Invoke("OrganizationExists", new object[] {
organizationId});
return ((bool)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginOrganizationExists(string organizationId, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginOrganizationExists(string organizationId, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("OrganizationExists", new object[] {
organizationId}, callback, asyncState);
}
-
+
///
- public bool EndOrganizationExists(System.IAsyncResult asyncResult)
- {
+ public bool EndOrganizationExists(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
-
+
///
- public void OrganizationExistsAsync(string organizationId)
- {
+ public void OrganizationExistsAsync(string organizationId) {
this.OrganizationExistsAsync(organizationId, null);
}
-
+
///
- public void OrganizationExistsAsync(string organizationId, object userState)
- {
- if ((this.OrganizationExistsOperationCompleted == null))
- {
+ public void OrganizationExistsAsync(string organizationId, object userState) {
+ if ((this.OrganizationExistsOperationCompleted == null)) {
this.OrganizationExistsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnOrganizationExistsOperationCompleted);
}
this.InvokeAsync("OrganizationExists", new object[] {
organizationId}, this.OrganizationExistsOperationCompleted, userState);
}
-
- private void OnOrganizationExistsOperationCompleted(object arg)
- {
- if ((this.OrganizationExistsCompleted != null))
- {
+
+ private void OnOrganizationExistsOperationCompleted(object arg) {
+ if ((this.OrganizationExistsCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.OrganizationExistsCompleted(this, new OrganizationExistsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/CreateOrganization", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public Organization CreateOrganization(string organizationId)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/CreateOrganization", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public Organization CreateOrganization(string organizationId) {
object[] results = this.Invoke("CreateOrganization", new object[] {
organizationId});
return ((Organization)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginCreateOrganization(string organizationId, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginCreateOrganization(string organizationId, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("CreateOrganization", new object[] {
organizationId}, callback, asyncState);
}
-
+
///
- public Organization EndCreateOrganization(System.IAsyncResult asyncResult)
- {
+ public Organization EndCreateOrganization(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((Organization)(results[0]));
}
-
+
///
- public void CreateOrganizationAsync(string organizationId)
- {
+ public void CreateOrganizationAsync(string organizationId) {
this.CreateOrganizationAsync(organizationId, null);
}
-
+
///
- public void CreateOrganizationAsync(string organizationId, object userState)
- {
- if ((this.CreateOrganizationOperationCompleted == null))
- {
+ public void CreateOrganizationAsync(string organizationId, object userState) {
+ if ((this.CreateOrganizationOperationCompleted == null)) {
this.CreateOrganizationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateOrganizationOperationCompleted);
}
this.InvokeAsync("CreateOrganization", new object[] {
organizationId}, this.CreateOrganizationOperationCompleted, userState);
}
-
- private void OnCreateOrganizationOperationCompleted(object arg)
- {
- if ((this.CreateOrganizationCompleted != null))
- {
+
+ private void OnCreateOrganizationOperationCompleted(object arg) {
+ if ((this.CreateOrganizationCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.CreateOrganizationCompleted(this, new CreateOrganizationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DeleteOrganization", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void DeleteOrganization(string organizationId)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DeleteOrganization", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void DeleteOrganization(string organizationId) {
this.Invoke("DeleteOrganization", new object[] {
organizationId});
}
-
+
///
- public System.IAsyncResult BeginDeleteOrganization(string organizationId, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginDeleteOrganization(string organizationId, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("DeleteOrganization", new object[] {
organizationId}, callback, asyncState);
}
-
+
///
- public void EndDeleteOrganization(System.IAsyncResult asyncResult)
- {
+ public void EndDeleteOrganization(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void DeleteOrganizationAsync(string organizationId)
- {
+ public void DeleteOrganizationAsync(string organizationId) {
this.DeleteOrganizationAsync(organizationId, null);
}
-
+
///
- public void DeleteOrganizationAsync(string organizationId, object userState)
- {
- if ((this.DeleteOrganizationOperationCompleted == null))
- {
+ public void DeleteOrganizationAsync(string organizationId, object userState) {
+ if ((this.DeleteOrganizationOperationCompleted == null)) {
this.DeleteOrganizationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteOrganizationOperationCompleted);
}
this.InvokeAsync("DeleteOrganization", new object[] {
organizationId}, this.DeleteOrganizationOperationCompleted, userState);
}
-
- private void OnDeleteOrganizationOperationCompleted(object arg)
- {
- if ((this.DeleteOrganizationCompleted != null))
- {
+
+ private void OnDeleteOrganizationOperationCompleted(object arg) {
+ if ((this.DeleteOrganizationCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.DeleteOrganizationCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/CreateUser", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public int CreateUser(string organizationId, string loginName, string displayName, string upn, string password, bool enabled)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/CreateUser", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public int CreateUser(string organizationId, string loginName, string displayName, string upn, string password, bool enabled) {
object[] results = this.Invoke("CreateUser", new object[] {
organizationId,
loginName,
@@ -373,10 +323,9 @@ namespace WebsitePanel.Providers.HostedSolution
enabled});
return ((int)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginCreateUser(string organizationId, string loginName, string displayName, string upn, string password, bool enabled, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginCreateUser(string organizationId, string loginName, string displayName, string upn, string password, bool enabled, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("CreateUser", new object[] {
organizationId,
loginName,
@@ -385,25 +334,21 @@ namespace WebsitePanel.Providers.HostedSolution
password,
enabled}, callback, asyncState);
}
-
+
///
- public int EndCreateUser(System.IAsyncResult asyncResult)
- {
+ public int EndCreateUser(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
-
+
///
- public void CreateUserAsync(string organizationId, string loginName, string displayName, string upn, string password, bool enabled)
- {
+ public void CreateUserAsync(string organizationId, string loginName, string displayName, string upn, string password, bool enabled) {
this.CreateUserAsync(organizationId, loginName, displayName, upn, password, enabled, null);
}
-
+
///
- public void CreateUserAsync(string organizationId, string loginName, string displayName, string upn, string password, bool enabled, object userState)
- {
- if ((this.CreateUserOperationCompleted == null))
- {
+ public void CreateUserAsync(string organizationId, string loginName, string displayName, string upn, string password, bool enabled, object userState) {
+ if ((this.CreateUserOperationCompleted == null)) {
this.CreateUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateUserOperationCompleted);
}
this.InvokeAsync("CreateUser", new object[] {
@@ -414,367 +359,311 @@ namespace WebsitePanel.Providers.HostedSolution
password,
enabled}, this.CreateUserOperationCompleted, userState);
}
-
- private void OnCreateUserOperationCompleted(object arg)
- {
- if ((this.CreateUserCompleted != null))
- {
+
+ private void OnCreateUserOperationCompleted(object arg) {
+ if ((this.CreateUserCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.CreateUserCompleted(this, new CreateUserCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DisableUser", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void DisableUser(string loginName, string organizationId)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DisableUser", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void DisableUser(string loginName, string organizationId) {
this.Invoke("DisableUser", new object[] {
loginName,
organizationId});
}
-
+
///
- public System.IAsyncResult BeginDisableUser(string loginName, string organizationId, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginDisableUser(string loginName, string organizationId, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("DisableUser", new object[] {
loginName,
organizationId}, callback, asyncState);
}
-
+
///
- public void EndDisableUser(System.IAsyncResult asyncResult)
- {
+ public void EndDisableUser(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void DisableUserAsync(string loginName, string organizationId)
- {
+ public void DisableUserAsync(string loginName, string organizationId) {
this.DisableUserAsync(loginName, organizationId, null);
}
-
+
///
- public void DisableUserAsync(string loginName, string organizationId, object userState)
- {
- if ((this.DisableUserOperationCompleted == null))
- {
+ public void DisableUserAsync(string loginName, string organizationId, object userState) {
+ if ((this.DisableUserOperationCompleted == null)) {
this.DisableUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDisableUserOperationCompleted);
}
this.InvokeAsync("DisableUser", new object[] {
loginName,
organizationId}, this.DisableUserOperationCompleted, userState);
}
-
- private void OnDisableUserOperationCompleted(object arg)
- {
- if ((this.DisableUserCompleted != null))
- {
+
+ private void OnDisableUserOperationCompleted(object arg) {
+ if ((this.DisableUserCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.DisableUserCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DeleteUser", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void DeleteUser(string loginName, string organizationId)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DeleteUser", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void DeleteUser(string loginName, string organizationId) {
this.Invoke("DeleteUser", new object[] {
loginName,
organizationId});
}
-
+
///
- public System.IAsyncResult BeginDeleteUser(string loginName, string organizationId, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginDeleteUser(string loginName, string organizationId, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("DeleteUser", new object[] {
loginName,
organizationId}, callback, asyncState);
}
-
+
///
- public void EndDeleteUser(System.IAsyncResult asyncResult)
- {
+ public void EndDeleteUser(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void DeleteUserAsync(string loginName, string organizationId)
- {
+ public void DeleteUserAsync(string loginName, string organizationId) {
this.DeleteUserAsync(loginName, organizationId, null);
}
-
+
///
- public void DeleteUserAsync(string loginName, string organizationId, object userState)
- {
- if ((this.DeleteUserOperationCompleted == null))
- {
+ public void DeleteUserAsync(string loginName, string organizationId, object userState) {
+ if ((this.DeleteUserOperationCompleted == null)) {
this.DeleteUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteUserOperationCompleted);
}
this.InvokeAsync("DeleteUser", new object[] {
loginName,
organizationId}, this.DeleteUserOperationCompleted, userState);
}
-
- private void OnDeleteUserOperationCompleted(object arg)
- {
- if ((this.DeleteUserCompleted != null))
- {
+
+ private void OnDeleteUserOperationCompleted(object arg) {
+ if ((this.DeleteUserCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.DeleteUserCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetUserGeneralSettings", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public OrganizationUser GetUserGeneralSettings(string loginName, string organizationId)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetUserGeneralSettings", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public OrganizationUser GetUserGeneralSettings(string loginName, string organizationId) {
object[] results = this.Invoke("GetUserGeneralSettings", new object[] {
loginName,
organizationId});
return ((OrganizationUser)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetUserGeneralSettings(string loginName, string organizationId, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetUserGeneralSettings(string loginName, string organizationId, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetUserGeneralSettings", new object[] {
loginName,
organizationId}, callback, asyncState);
}
-
+
///
- public OrganizationUser EndGetUserGeneralSettings(System.IAsyncResult asyncResult)
- {
+ public OrganizationUser EndGetUserGeneralSettings(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((OrganizationUser)(results[0]));
}
-
+
///
- public void GetUserGeneralSettingsAsync(string loginName, string organizationId)
- {
+ public void GetUserGeneralSettingsAsync(string loginName, string organizationId) {
this.GetUserGeneralSettingsAsync(loginName, organizationId, null);
}
-
+
///
- public void GetUserGeneralSettingsAsync(string loginName, string organizationId, object userState)
- {
- if ((this.GetUserGeneralSettingsOperationCompleted == null))
- {
+ public void GetUserGeneralSettingsAsync(string loginName, string organizationId, object userState) {
+ if ((this.GetUserGeneralSettingsOperationCompleted == null)) {
this.GetUserGeneralSettingsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetUserGeneralSettingsOperationCompleted);
}
this.InvokeAsync("GetUserGeneralSettings", new object[] {
loginName,
organizationId}, this.GetUserGeneralSettingsOperationCompleted, userState);
}
-
- private void OnGetUserGeneralSettingsOperationCompleted(object arg)
- {
- if ((this.GetUserGeneralSettingsCompleted != null))
- {
+
+ private void OnGetUserGeneralSettingsOperationCompleted(object arg) {
+ if ((this.GetUserGeneralSettingsCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetUserGeneralSettingsCompleted(this, new GetUserGeneralSettingsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/CreateSecurityGroup", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public int CreateSecurityGroup(string organizationId, string groupName)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/CreateSecurityGroup", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public int CreateSecurityGroup(string organizationId, string groupName) {
object[] results = this.Invoke("CreateSecurityGroup", new object[] {
organizationId,
groupName});
return ((int)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginCreateSecurityGroup(string organizationId, string groupName, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginCreateSecurityGroup(string organizationId, string groupName, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("CreateSecurityGroup", new object[] {
organizationId,
groupName}, callback, asyncState);
}
-
+
///
- public int EndCreateSecurityGroup(System.IAsyncResult asyncResult)
- {
+ public int EndCreateSecurityGroup(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
-
+
///
- public void CreateSecurityGroupAsync(string organizationId, string groupName)
- {
+ public void CreateSecurityGroupAsync(string organizationId, string groupName) {
this.CreateSecurityGroupAsync(organizationId, groupName, null);
}
-
+
///
- public void CreateSecurityGroupAsync(string organizationId, string groupName, object userState)
- {
- if ((this.CreateSecurityGroupOperationCompleted == null))
- {
+ public void CreateSecurityGroupAsync(string organizationId, string groupName, object userState) {
+ if ((this.CreateSecurityGroupOperationCompleted == null)) {
this.CreateSecurityGroupOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateSecurityGroupOperationCompleted);
}
this.InvokeAsync("CreateSecurityGroup", new object[] {
organizationId,
groupName}, this.CreateSecurityGroupOperationCompleted, userState);
}
-
- private void OnCreateSecurityGroupOperationCompleted(object arg)
- {
- if ((this.CreateSecurityGroupCompleted != null))
- {
+
+ private void OnCreateSecurityGroupOperationCompleted(object arg) {
+ if ((this.CreateSecurityGroupCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.CreateSecurityGroupCompleted(this, new CreateSecurityGroupCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetSecurityGroupGeneralSettings", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public OrganizationSecurityGroup GetSecurityGroupGeneralSettings(string groupName, string organizationId)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetSecurityGroupGeneralSettings", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public OrganizationSecurityGroup GetSecurityGroupGeneralSettings(string groupName, string organizationId) {
object[] results = this.Invoke("GetSecurityGroupGeneralSettings", new object[] {
groupName,
organizationId});
return ((OrganizationSecurityGroup)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetSecurityGroupGeneralSettings(string groupName, string organizationId, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetSecurityGroupGeneralSettings(string groupName, string organizationId, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetSecurityGroupGeneralSettings", new object[] {
groupName,
organizationId}, callback, asyncState);
}
-
+
///
- public OrganizationSecurityGroup EndGetSecurityGroupGeneralSettings(System.IAsyncResult asyncResult)
- {
+ public OrganizationSecurityGroup EndGetSecurityGroupGeneralSettings(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((OrganizationSecurityGroup)(results[0]));
}
-
+
///
- public void GetSecurityGroupGeneralSettingsAsync(string groupName, string organizationId)
- {
+ public void GetSecurityGroupGeneralSettingsAsync(string groupName, string organizationId) {
this.GetSecurityGroupGeneralSettingsAsync(groupName, organizationId, null);
}
-
+
///
- public void GetSecurityGroupGeneralSettingsAsync(string groupName, string organizationId, object userState)
- {
- if ((this.GetSecurityGroupGeneralSettingsOperationCompleted == null))
- {
+ public void GetSecurityGroupGeneralSettingsAsync(string groupName, string organizationId, object userState) {
+ if ((this.GetSecurityGroupGeneralSettingsOperationCompleted == null)) {
this.GetSecurityGroupGeneralSettingsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSecurityGroupGeneralSettingsOperationCompleted);
}
this.InvokeAsync("GetSecurityGroupGeneralSettings", new object[] {
groupName,
organizationId}, this.GetSecurityGroupGeneralSettingsOperationCompleted, userState);
}
-
- private void OnGetSecurityGroupGeneralSettingsOperationCompleted(object arg)
- {
- if ((this.GetSecurityGroupGeneralSettingsCompleted != null))
- {
+
+ private void OnGetSecurityGroupGeneralSettingsOperationCompleted(object arg) {
+ if ((this.GetSecurityGroupGeneralSettingsCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetSecurityGroupGeneralSettingsCompleted(this, new GetSecurityGroupGeneralSettingsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DeleteSecurityGroup", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void DeleteSecurityGroup(string groupName, string organizationId)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DeleteSecurityGroup", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void DeleteSecurityGroup(string groupName, string organizationId) {
this.Invoke("DeleteSecurityGroup", new object[] {
groupName,
organizationId});
}
-
+
///
- public System.IAsyncResult BeginDeleteSecurityGroup(string groupName, string organizationId, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginDeleteSecurityGroup(string groupName, string organizationId, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("DeleteSecurityGroup", new object[] {
groupName,
organizationId}, callback, asyncState);
}
-
+
///
- public void EndDeleteSecurityGroup(System.IAsyncResult asyncResult)
- {
+ public void EndDeleteSecurityGroup(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void DeleteSecurityGroupAsync(string groupName, string organizationId)
- {
+ public void DeleteSecurityGroupAsync(string groupName, string organizationId) {
this.DeleteSecurityGroupAsync(groupName, organizationId, null);
}
-
+
///
- public void DeleteSecurityGroupAsync(string groupName, string organizationId, object userState)
- {
- if ((this.DeleteSecurityGroupOperationCompleted == null))
- {
+ public void DeleteSecurityGroupAsync(string groupName, string organizationId, object userState) {
+ if ((this.DeleteSecurityGroupOperationCompleted == null)) {
this.DeleteSecurityGroupOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteSecurityGroupOperationCompleted);
}
this.InvokeAsync("DeleteSecurityGroup", new object[] {
groupName,
organizationId}, this.DeleteSecurityGroupOperationCompleted, userState);
}
-
- private void OnDeleteSecurityGroupOperationCompleted(object arg)
- {
- if ((this.DeleteSecurityGroupCompleted != null))
- {
+
+ private void OnDeleteSecurityGroupOperationCompleted(object arg) {
+ if ((this.DeleteSecurityGroupCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.DeleteSecurityGroupCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/SetSecurityGroupGeneralSettings", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void SetSecurityGroupGeneralSettings(string organizationId, string groupName, string[] memberAccounts, string notes)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/SetSecurityGroupGeneralSettings", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void SetSecurityGroupGeneralSettings(string organizationId, string groupName, string[] memberAccounts, string notes) {
this.Invoke("SetSecurityGroupGeneralSettings", new object[] {
organizationId,
groupName,
memberAccounts,
notes});
}
-
+
///
- public System.IAsyncResult BeginSetSecurityGroupGeneralSettings(string organizationId, string groupName, string[] memberAccounts, string notes, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginSetSecurityGroupGeneralSettings(string organizationId, string groupName, string[] memberAccounts, string notes, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("SetSecurityGroupGeneralSettings", new object[] {
organizationId,
groupName,
memberAccounts,
notes}, callback, asyncState);
}
-
+
///
- public void EndSetSecurityGroupGeneralSettings(System.IAsyncResult asyncResult)
- {
+ public void EndSetSecurityGroupGeneralSettings(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void SetSecurityGroupGeneralSettingsAsync(string organizationId, string groupName, string[] memberAccounts, string notes)
- {
+ public void SetSecurityGroupGeneralSettingsAsync(string organizationId, string groupName, string[] memberAccounts, string notes) {
this.SetSecurityGroupGeneralSettingsAsync(organizationId, groupName, memberAccounts, notes, null);
}
-
+
///
- public void SetSecurityGroupGeneralSettingsAsync(string organizationId, string groupName, string[] memberAccounts, string notes, object userState)
- {
- if ((this.SetSecurityGroupGeneralSettingsOperationCompleted == null))
- {
+ public void SetSecurityGroupGeneralSettingsAsync(string organizationId, string groupName, string[] memberAccounts, string notes, object userState) {
+ if ((this.SetSecurityGroupGeneralSettingsOperationCompleted == null)) {
this.SetSecurityGroupGeneralSettingsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetSecurityGroupGeneralSettingsOperationCompleted);
}
this.InvokeAsync("SetSecurityGroupGeneralSettings", new object[] {
@@ -783,53 +672,45 @@ namespace WebsitePanel.Providers.HostedSolution
memberAccounts,
notes}, this.SetSecurityGroupGeneralSettingsOperationCompleted, userState);
}
-
- private void OnSetSecurityGroupGeneralSettingsOperationCompleted(object arg)
- {
- if ((this.SetSecurityGroupGeneralSettingsCompleted != null))
- {
+
+ private void OnSetSecurityGroupGeneralSettingsOperationCompleted(object arg) {
+ if ((this.SetSecurityGroupGeneralSettingsCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.SetSecurityGroupGeneralSettingsCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/AddObjectToSecurityGroup", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void AddObjectToSecurityGroup(string organizationId, string accountName, string groupName)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/AddObjectToSecurityGroup", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void AddObjectToSecurityGroup(string organizationId, string accountName, string groupName) {
this.Invoke("AddObjectToSecurityGroup", new object[] {
organizationId,
accountName,
groupName});
}
-
+
///
- public System.IAsyncResult BeginAddObjectToSecurityGroup(string organizationId, string accountName, string groupName, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginAddObjectToSecurityGroup(string organizationId, string accountName, string groupName, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("AddObjectToSecurityGroup", new object[] {
organizationId,
accountName,
groupName}, callback, asyncState);
}
-
+
///
- public void EndAddObjectToSecurityGroup(System.IAsyncResult asyncResult)
- {
+ public void EndAddObjectToSecurityGroup(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void AddObjectToSecurityGroupAsync(string organizationId, string accountName, string groupName)
- {
+ public void AddObjectToSecurityGroupAsync(string organizationId, string accountName, string groupName) {
this.AddObjectToSecurityGroupAsync(organizationId, accountName, groupName, null);
}
-
+
///
- public void AddObjectToSecurityGroupAsync(string organizationId, string accountName, string groupName, object userState)
- {
- if ((this.AddObjectToSecurityGroupOperationCompleted == null))
- {
+ public void AddObjectToSecurityGroupAsync(string organizationId, string accountName, string groupName, object userState) {
+ if ((this.AddObjectToSecurityGroupOperationCompleted == null)) {
this.AddObjectToSecurityGroupOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddObjectToSecurityGroupOperationCompleted);
}
this.InvokeAsync("AddObjectToSecurityGroup", new object[] {
@@ -837,53 +718,45 @@ namespace WebsitePanel.Providers.HostedSolution
accountName,
groupName}, this.AddObjectToSecurityGroupOperationCompleted, userState);
}
-
- private void OnAddObjectToSecurityGroupOperationCompleted(object arg)
- {
- if ((this.AddObjectToSecurityGroupCompleted != null))
- {
+
+ private void OnAddObjectToSecurityGroupOperationCompleted(object arg) {
+ if ((this.AddObjectToSecurityGroupCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.AddObjectToSecurityGroupCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DeleteObjectFromSecurityGroup", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void DeleteObjectFromSecurityGroup(string organizationId, string accountName, string groupName)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DeleteObjectFromSecurityGroup", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void DeleteObjectFromSecurityGroup(string organizationId, string accountName, string groupName) {
this.Invoke("DeleteObjectFromSecurityGroup", new object[] {
organizationId,
accountName,
groupName});
}
-
+
///
- public System.IAsyncResult BeginDeleteObjectFromSecurityGroup(string organizationId, string accountName, string groupName, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginDeleteObjectFromSecurityGroup(string organizationId, string accountName, string groupName, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("DeleteObjectFromSecurityGroup", new object[] {
organizationId,
accountName,
groupName}, callback, asyncState);
}
-
+
///
- public void EndDeleteObjectFromSecurityGroup(System.IAsyncResult asyncResult)
- {
+ public void EndDeleteObjectFromSecurityGroup(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void DeleteObjectFromSecurityGroupAsync(string organizationId, string accountName, string groupName)
- {
+ public void DeleteObjectFromSecurityGroupAsync(string organizationId, string accountName, string groupName) {
this.DeleteObjectFromSecurityGroupAsync(organizationId, accountName, groupName, null);
}
-
+
///
- public void DeleteObjectFromSecurityGroupAsync(string organizationId, string accountName, string groupName, object userState)
- {
- if ((this.DeleteObjectFromSecurityGroupOperationCompleted == null))
- {
+ public void DeleteObjectFromSecurityGroupAsync(string organizationId, string accountName, string groupName, object userState) {
+ if ((this.DeleteObjectFromSecurityGroupOperationCompleted == null)) {
this.DeleteObjectFromSecurityGroupOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteObjectFromSecurityGroupOperationCompleted);
}
this.InvokeAsync("DeleteObjectFromSecurityGroup", new object[] {
@@ -891,50 +764,47 @@ namespace WebsitePanel.Providers.HostedSolution
accountName,
groupName}, this.DeleteObjectFromSecurityGroupOperationCompleted, userState);
}
-
- private void OnDeleteObjectFromSecurityGroupOperationCompleted(object arg)
- {
- if ((this.DeleteObjectFromSecurityGroupCompleted != null))
- {
+
+ private void OnDeleteObjectFromSecurityGroupOperationCompleted(object arg) {
+ if ((this.DeleteObjectFromSecurityGroupCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.DeleteObjectFromSecurityGroupCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/SetUserGeneralSettings", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/SetUserGeneralSettings", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public void SetUserGeneralSettings(
- string organizationId,
- string accountName,
- string displayName,
- string password,
- bool hideFromAddressBook,
- bool disabled,
- bool locked,
- string firstName,
- string initials,
- string lastName,
- string address,
- string city,
- string state,
- string zip,
- string country,
- string jobTitle,
- string company,
- string department,
- string office,
- string managerAccountName,
- string businessPhone,
- string fax,
- string homePhone,
- string mobilePhone,
- string pager,
- string webPage,
- string notes,
- string externalEmail,
- bool userMustChangePassword)
- {
+ string organizationId,
+ string accountName,
+ string displayName,
+ string password,
+ bool hideFromAddressBook,
+ bool disabled,
+ bool locked,
+ string firstName,
+ string initials,
+ string lastName,
+ string address,
+ string city,
+ string state,
+ string zip,
+ string country,
+ string jobTitle,
+ string company,
+ string department,
+ string office,
+ string managerAccountName,
+ string businessPhone,
+ string fax,
+ string homePhone,
+ string mobilePhone,
+ string pager,
+ string webPage,
+ string notes,
+ string externalEmail,
+ bool userMustChangePassword) {
this.Invoke("SetUserGeneralSettings", new object[] {
organizationId,
accountName,
@@ -966,41 +836,40 @@ namespace WebsitePanel.Providers.HostedSolution
externalEmail,
userMustChangePassword});
}
-
+
///
public System.IAsyncResult BeginSetUserGeneralSettings(
- string organizationId,
- string accountName,
- string displayName,
- string password,
- bool hideFromAddressBook,
- bool disabled,
- bool locked,
- string firstName,
- string initials,
- string lastName,
- string address,
- string city,
- string state,
- string zip,
- string country,
- string jobTitle,
- string company,
- string department,
- string office,
- string managerAccountName,
- string businessPhone,
- string fax,
- string homePhone,
- string mobilePhone,
- string pager,
- string webPage,
- string notes,
- string externalEmail,
- bool userMustChangePassword,
- System.AsyncCallback callback,
- object asyncState)
- {
+ string organizationId,
+ string accountName,
+ string displayName,
+ string password,
+ bool hideFromAddressBook,
+ bool disabled,
+ bool locked,
+ string firstName,
+ string initials,
+ string lastName,
+ string address,
+ string city,
+ string state,
+ string zip,
+ string country,
+ string jobTitle,
+ string company,
+ string department,
+ string office,
+ string managerAccountName,
+ string businessPhone,
+ string fax,
+ string homePhone,
+ string mobilePhone,
+ string pager,
+ string webPage,
+ string notes,
+ string externalEmail,
+ bool userMustChangePassword,
+ System.AsyncCallback callback,
+ object asyncState) {
return this.BeginInvoke("SetUserGeneralSettings", new object[] {
organizationId,
accountName,
@@ -1032,83 +901,79 @@ namespace WebsitePanel.Providers.HostedSolution
externalEmail,
userMustChangePassword}, callback, asyncState);
}
-
+
///
- public void EndSetUserGeneralSettings(System.IAsyncResult asyncResult)
- {
+ public void EndSetUserGeneralSettings(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
public void SetUserGeneralSettingsAsync(
- string organizationId,
- string accountName,
- string displayName,
- string password,
- bool hideFromAddressBook,
- bool disabled,
- bool locked,
- string firstName,
- string initials,
- string lastName,
- string address,
- string city,
- string state,
- string zip,
- string country,
- string jobTitle,
- string company,
- string department,
- string office,
- string managerAccountName,
- string businessPhone,
- string fax,
- string homePhone,
- string mobilePhone,
- string pager,
- string webPage,
- string notes,
- string externalEmail,
- bool userMustChangePassword)
- {
+ string organizationId,
+ string accountName,
+ string displayName,
+ string password,
+ bool hideFromAddressBook,
+ bool disabled,
+ bool locked,
+ string firstName,
+ string initials,
+ string lastName,
+ string address,
+ string city,
+ string state,
+ string zip,
+ string country,
+ string jobTitle,
+ string company,
+ string department,
+ string office,
+ string managerAccountName,
+ string businessPhone,
+ string fax,
+ string homePhone,
+ string mobilePhone,
+ string pager,
+ string webPage,
+ string notes,
+ string externalEmail,
+ bool userMustChangePassword) {
this.SetUserGeneralSettingsAsync(organizationId, accountName, displayName, password, hideFromAddressBook, disabled, locked, firstName, initials, lastName, address, city, state, zip, country, jobTitle, company, department, office, managerAccountName, businessPhone, fax, homePhone, mobilePhone, pager, webPage, notes, externalEmail, userMustChangePassword, null);
}
-
+
///
public void SetUserGeneralSettingsAsync(
- string organizationId,
- string accountName,
- string displayName,
- string password,
- bool hideFromAddressBook,
- bool disabled,
- bool locked,
- string firstName,
- string initials,
- string lastName,
- string address,
- string city,
- string state,
- string zip,
- string country,
- string jobTitle,
- string company,
- string department,
- string office,
- string managerAccountName,
- string businessPhone,
- string fax,
- string homePhone,
- string mobilePhone,
- string pager,
- string webPage,
- string notes,
- string externalEmail,
- bool userMustChangePassword,
- object userState)
- {
- if ((this.SetUserGeneralSettingsOperationCompleted == null))
- {
+ string organizationId,
+ string accountName,
+ string displayName,
+ string password,
+ bool hideFromAddressBook,
+ bool disabled,
+ bool locked,
+ string firstName,
+ string initials,
+ string lastName,
+ string address,
+ string city,
+ string state,
+ string zip,
+ string country,
+ string jobTitle,
+ string company,
+ string department,
+ string office,
+ string managerAccountName,
+ string businessPhone,
+ string fax,
+ string homePhone,
+ string mobilePhone,
+ string pager,
+ string webPage,
+ string notes,
+ string externalEmail,
+ bool userMustChangePassword,
+ object userState) {
+ if ((this.SetUserGeneralSettingsOperationCompleted == null)) {
this.SetUserGeneralSettingsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetUserGeneralSettingsOperationCompleted);
}
this.InvokeAsync("SetUserGeneralSettings", new object[] {
@@ -1142,53 +1007,45 @@ namespace WebsitePanel.Providers.HostedSolution
externalEmail,
userMustChangePassword}, this.SetUserGeneralSettingsOperationCompleted, userState);
}
-
- private void OnSetUserGeneralSettingsOperationCompleted(object arg)
- {
- if ((this.SetUserGeneralSettingsCompleted != null))
- {
+
+ private void OnSetUserGeneralSettingsOperationCompleted(object arg) {
+ if ((this.SetUserGeneralSettingsCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.SetUserGeneralSettingsCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/SetUserPassword", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void SetUserPassword(string organizationId, string accountName, string password)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/SetUserPassword", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void SetUserPassword(string organizationId, string accountName, string password) {
this.Invoke("SetUserPassword", new object[] {
organizationId,
accountName,
password});
}
-
+
///
- public System.IAsyncResult BeginSetUserPassword(string organizationId, string accountName, string password, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginSetUserPassword(string organizationId, string accountName, string password, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("SetUserPassword", new object[] {
organizationId,
accountName,
password}, callback, asyncState);
}
-
+
///
- public void EndSetUserPassword(System.IAsyncResult asyncResult)
- {
+ public void EndSetUserPassword(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void SetUserPasswordAsync(string organizationId, string accountName, string password)
- {
+ public void SetUserPasswordAsync(string organizationId, string accountName, string password) {
this.SetUserPasswordAsync(organizationId, accountName, password, null);
}
-
+
///
- public void SetUserPasswordAsync(string organizationId, string accountName, string password, object userState)
- {
- if ((this.SetUserPasswordOperationCompleted == null))
- {
+ public void SetUserPasswordAsync(string organizationId, string accountName, string password, object userState) {
+ if ((this.SetUserPasswordOperationCompleted == null)) {
this.SetUserPasswordOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetUserPasswordOperationCompleted);
}
this.InvokeAsync("SetUserPassword", new object[] {
@@ -1196,53 +1053,45 @@ namespace WebsitePanel.Providers.HostedSolution
accountName,
password}, this.SetUserPasswordOperationCompleted, userState);
}
-
- private void OnSetUserPasswordOperationCompleted(object arg)
- {
- if ((this.SetUserPasswordCompleted != null))
- {
+
+ private void OnSetUserPasswordOperationCompleted(object arg) {
+ if ((this.SetUserPasswordCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.SetUserPasswordCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/SetUserPrincipalName", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void SetUserPrincipalName(string organizationId, string accountName, string userPrincipalName)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/SetUserPrincipalName", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void SetUserPrincipalName(string organizationId, string accountName, string userPrincipalName) {
this.Invoke("SetUserPrincipalName", new object[] {
organizationId,
accountName,
userPrincipalName});
}
-
+
///
- public System.IAsyncResult BeginSetUserPrincipalName(string organizationId, string accountName, string userPrincipalName, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginSetUserPrincipalName(string organizationId, string accountName, string userPrincipalName, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("SetUserPrincipalName", new object[] {
organizationId,
accountName,
userPrincipalName}, callback, asyncState);
}
-
+
///
- public void EndSetUserPrincipalName(System.IAsyncResult asyncResult)
- {
+ public void EndSetUserPrincipalName(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void SetUserPrincipalNameAsync(string organizationId, string accountName, string userPrincipalName)
- {
+ public void SetUserPrincipalNameAsync(string organizationId, string accountName, string userPrincipalName) {
this.SetUserPrincipalNameAsync(organizationId, accountName, userPrincipalName, null);
}
-
+
///
- public void SetUserPrincipalNameAsync(string organizationId, string accountName, string userPrincipalName, object userState)
- {
- if ((this.SetUserPrincipalNameOperationCompleted == null))
- {
+ public void SetUserPrincipalNameAsync(string organizationId, string accountName, string userPrincipalName, object userState) {
+ if ((this.SetUserPrincipalNameOperationCompleted == null)) {
this.SetUserPrincipalNameOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetUserPrincipalNameOperationCompleted);
}
this.InvokeAsync("SetUserPrincipalName", new object[] {
@@ -1250,323 +1099,272 @@ namespace WebsitePanel.Providers.HostedSolution
accountName,
userPrincipalName}, this.SetUserPrincipalNameOperationCompleted, userState);
}
-
- private void OnSetUserPrincipalNameOperationCompleted(object arg)
- {
- if ((this.SetUserPrincipalNameCompleted != null))
- {
+
+ private void OnSetUserPrincipalNameOperationCompleted(object arg) {
+ if ((this.SetUserPrincipalNameCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.SetUserPrincipalNameCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DeleteOrganizationDomain", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void DeleteOrganizationDomain(string organizationDistinguishedName, string domain)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DeleteOrganizationDomain", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void DeleteOrganizationDomain(string organizationDistinguishedName, string domain) {
this.Invoke("DeleteOrganizationDomain", new object[] {
organizationDistinguishedName,
domain});
}
-
+
///
- public System.IAsyncResult BeginDeleteOrganizationDomain(string organizationDistinguishedName, string domain, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginDeleteOrganizationDomain(string organizationDistinguishedName, string domain, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("DeleteOrganizationDomain", new object[] {
organizationDistinguishedName,
domain}, callback, asyncState);
}
-
+
///
- public void EndDeleteOrganizationDomain(System.IAsyncResult asyncResult)
- {
+ public void EndDeleteOrganizationDomain(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void DeleteOrganizationDomainAsync(string organizationDistinguishedName, string domain)
- {
+ public void DeleteOrganizationDomainAsync(string organizationDistinguishedName, string domain) {
this.DeleteOrganizationDomainAsync(organizationDistinguishedName, domain, null);
}
-
+
///
- public void DeleteOrganizationDomainAsync(string organizationDistinguishedName, string domain, object userState)
- {
- if ((this.DeleteOrganizationDomainOperationCompleted == null))
- {
+ public void DeleteOrganizationDomainAsync(string organizationDistinguishedName, string domain, object userState) {
+ if ((this.DeleteOrganizationDomainOperationCompleted == null)) {
this.DeleteOrganizationDomainOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteOrganizationDomainOperationCompleted);
}
this.InvokeAsync("DeleteOrganizationDomain", new object[] {
organizationDistinguishedName,
domain}, this.DeleteOrganizationDomainOperationCompleted, userState);
}
-
- private void OnDeleteOrganizationDomainOperationCompleted(object arg)
- {
- if ((this.DeleteOrganizationDomainCompleted != null))
- {
+
+ private void OnDeleteOrganizationDomainOperationCompleted(object arg) {
+ if ((this.DeleteOrganizationDomainCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.DeleteOrganizationDomainCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/CreateOrganizationDomain", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void CreateOrganizationDomain(string organizationDistinguishedName, string domain)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/CreateOrganizationDomain", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void CreateOrganizationDomain(string organizationDistinguishedName, string domain) {
this.Invoke("CreateOrganizationDomain", new object[] {
organizationDistinguishedName,
domain});
}
-
+
///
- public System.IAsyncResult BeginCreateOrganizationDomain(string organizationDistinguishedName, string domain, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginCreateOrganizationDomain(string organizationDistinguishedName, string domain, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("CreateOrganizationDomain", new object[] {
organizationDistinguishedName,
domain}, callback, asyncState);
}
-
+
///
- public void EndCreateOrganizationDomain(System.IAsyncResult asyncResult)
- {
+ public void EndCreateOrganizationDomain(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void CreateOrganizationDomainAsync(string organizationDistinguishedName, string domain)
- {
+ public void CreateOrganizationDomainAsync(string organizationDistinguishedName, string domain) {
this.CreateOrganizationDomainAsync(organizationDistinguishedName, domain, null);
}
-
+
///
- public void CreateOrganizationDomainAsync(string organizationDistinguishedName, string domain, object userState)
- {
- if ((this.CreateOrganizationDomainOperationCompleted == null))
- {
+ public void CreateOrganizationDomainAsync(string organizationDistinguishedName, string domain, object userState) {
+ if ((this.CreateOrganizationDomainOperationCompleted == null)) {
this.CreateOrganizationDomainOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateOrganizationDomainOperationCompleted);
}
this.InvokeAsync("CreateOrganizationDomain", new object[] {
organizationDistinguishedName,
domain}, this.CreateOrganizationDomainOperationCompleted, userState);
}
-
- private void OnCreateOrganizationDomainOperationCompleted(object arg)
- {
- if ((this.CreateOrganizationDomainCompleted != null))
- {
+
+ private void OnCreateOrganizationDomainOperationCompleted(object arg) {
+ if ((this.CreateOrganizationDomainCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.CreateOrganizationDomainCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetPasswordPolicy", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public PasswordPolicyResult GetPasswordPolicy()
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetPasswordPolicy", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public PasswordPolicyResult GetPasswordPolicy() {
object[] results = this.Invoke("GetPasswordPolicy", new object[0]);
return ((PasswordPolicyResult)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetPasswordPolicy(System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetPasswordPolicy(System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetPasswordPolicy", new object[0], callback, asyncState);
}
-
+
///
- public PasswordPolicyResult EndGetPasswordPolicy(System.IAsyncResult asyncResult)
- {
+ public PasswordPolicyResult EndGetPasswordPolicy(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((PasswordPolicyResult)(results[0]));
}
-
+
///
- public void GetPasswordPolicyAsync()
- {
+ public void GetPasswordPolicyAsync() {
this.GetPasswordPolicyAsync(null);
}
-
+
///
- public void GetPasswordPolicyAsync(object userState)
- {
- if ((this.GetPasswordPolicyOperationCompleted == null))
- {
+ public void GetPasswordPolicyAsync(object userState) {
+ if ((this.GetPasswordPolicyOperationCompleted == null)) {
this.GetPasswordPolicyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetPasswordPolicyOperationCompleted);
}
this.InvokeAsync("GetPasswordPolicy", new object[0], this.GetPasswordPolicyOperationCompleted, userState);
}
-
- private void OnGetPasswordPolicyOperationCompleted(object arg)
- {
- if ((this.GetPasswordPolicyCompleted != null))
- {
+
+ private void OnGetPasswordPolicyOperationCompleted(object arg) {
+ if ((this.GetPasswordPolicyCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetPasswordPolicyCompleted(this, new GetPasswordPolicyCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetSamAccountNameByUserPrincipalName", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public string GetSamAccountNameByUserPrincipalName(string organizationId, string userPrincipalName)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetSamAccountNameByUserPrincipalName", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public string GetSamAccountNameByUserPrincipalName(string organizationId, string userPrincipalName) {
object[] results = this.Invoke("GetSamAccountNameByUserPrincipalName", new object[] {
organizationId,
userPrincipalName});
return ((string)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetSamAccountNameByUserPrincipalName(string organizationId, string userPrincipalName, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetSamAccountNameByUserPrincipalName(string organizationId, string userPrincipalName, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetSamAccountNameByUserPrincipalName", new object[] {
organizationId,
userPrincipalName}, callback, asyncState);
}
-
+
///
- public string EndGetSamAccountNameByUserPrincipalName(System.IAsyncResult asyncResult)
- {
+ public string EndGetSamAccountNameByUserPrincipalName(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
-
+
///
- public void GetSamAccountNameByUserPrincipalNameAsync(string organizationId, string userPrincipalName)
- {
+ public void GetSamAccountNameByUserPrincipalNameAsync(string organizationId, string userPrincipalName) {
this.GetSamAccountNameByUserPrincipalNameAsync(organizationId, userPrincipalName, null);
}
-
+
///
- public void GetSamAccountNameByUserPrincipalNameAsync(string organizationId, string userPrincipalName, object userState)
- {
- if ((this.GetSamAccountNameByUserPrincipalNameOperationCompleted == null))
- {
+ public void GetSamAccountNameByUserPrincipalNameAsync(string organizationId, string userPrincipalName, object userState) {
+ if ((this.GetSamAccountNameByUserPrincipalNameOperationCompleted == null)) {
this.GetSamAccountNameByUserPrincipalNameOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSamAccountNameByUserPrincipalNameOperationCompleted);
}
this.InvokeAsync("GetSamAccountNameByUserPrincipalName", new object[] {
organizationId,
userPrincipalName}, this.GetSamAccountNameByUserPrincipalNameOperationCompleted, userState);
}
-
- private void OnGetSamAccountNameByUserPrincipalNameOperationCompleted(object arg)
- {
- if ((this.GetSamAccountNameByUserPrincipalNameCompleted != null))
- {
+
+ private void OnGetSamAccountNameByUserPrincipalNameOperationCompleted(object arg) {
+ if ((this.GetSamAccountNameByUserPrincipalNameCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetSamAccountNameByUserPrincipalNameCompleted(this, new GetSamAccountNameByUserPrincipalNameCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DoesSamAccountNameExist", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public bool DoesSamAccountNameExist(string accountName)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DoesSamAccountNameExist", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public bool DoesSamAccountNameExist(string accountName) {
object[] results = this.Invoke("DoesSamAccountNameExist", new object[] {
accountName});
return ((bool)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginDoesSamAccountNameExist(string accountName, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginDoesSamAccountNameExist(string accountName, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("DoesSamAccountNameExist", new object[] {
accountName}, callback, asyncState);
}
-
+
///
- public bool EndDoesSamAccountNameExist(System.IAsyncResult asyncResult)
- {
+ public bool EndDoesSamAccountNameExist(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
-
+
///
- public void DoesSamAccountNameExistAsync(string accountName)
- {
+ public void DoesSamAccountNameExistAsync(string accountName) {
this.DoesSamAccountNameExistAsync(accountName, null);
}
-
+
///
- public void DoesSamAccountNameExistAsync(string accountName, object userState)
- {
- if ((this.DoesSamAccountNameExistOperationCompleted == null))
- {
+ public void DoesSamAccountNameExistAsync(string accountName, object userState) {
+ if ((this.DoesSamAccountNameExistOperationCompleted == null)) {
this.DoesSamAccountNameExistOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDoesSamAccountNameExistOperationCompleted);
}
this.InvokeAsync("DoesSamAccountNameExist", new object[] {
accountName}, this.DoesSamAccountNameExistOperationCompleted, userState);
}
-
- private void OnDoesSamAccountNameExistOperationCompleted(object arg)
- {
- if ((this.DoesSamAccountNameExistCompleted != null))
- {
+
+ private void OnDoesSamAccountNameExistOperationCompleted(object arg) {
+ if ((this.DoesSamAccountNameExistCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.DoesSamAccountNameExistCompleted(this, new DoesSamAccountNameExistCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetDriveMaps", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public MappedDrive[] GetDriveMaps(string organizationId)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetDriveMaps", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public MappedDrive[] GetDriveMaps(string organizationId) {
object[] results = this.Invoke("GetDriveMaps", new object[] {
organizationId});
return ((MappedDrive[])(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetDriveMaps(string organizationId, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetDriveMaps(string organizationId, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetDriveMaps", new object[] {
organizationId}, callback, asyncState);
}
-
+
///
- public MappedDrive[] EndGetDriveMaps(System.IAsyncResult asyncResult)
- {
+ public MappedDrive[] EndGetDriveMaps(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((MappedDrive[])(results[0]));
}
-
+
///
- public void GetDriveMapsAsync(string organizationId)
- {
+ public void GetDriveMapsAsync(string organizationId) {
this.GetDriveMapsAsync(organizationId, null);
}
-
+
///
- public void GetDriveMapsAsync(string organizationId, object userState)
- {
- if ((this.GetDriveMapsOperationCompleted == null))
- {
+ public void GetDriveMapsAsync(string organizationId, object userState) {
+ if ((this.GetDriveMapsOperationCompleted == null)) {
this.GetDriveMapsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDriveMapsOperationCompleted);
}
this.InvokeAsync("GetDriveMaps", new object[] {
organizationId}, this.GetDriveMapsOperationCompleted, userState);
}
-
- private void OnGetDriveMapsOperationCompleted(object arg)
- {
- if ((this.GetDriveMapsCompleted != null))
- {
+
+ private void OnGetDriveMapsOperationCompleted(object arg) {
+ if ((this.GetDriveMapsCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetDriveMapsCompleted(this, new GetDriveMapsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/CreateMappedDrive", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public int CreateMappedDrive(string organizationId, string drive, string labelAs, string path)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/CreateMappedDrive", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public int CreateMappedDrive(string organizationId, string drive, string labelAs, string path) {
object[] results = this.Invoke("CreateMappedDrive", new object[] {
organizationId,
drive,
@@ -1574,35 +1372,30 @@ namespace WebsitePanel.Providers.HostedSolution
path});
return ((int)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginCreateMappedDrive(string organizationId, string drive, string labelAs, string path, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginCreateMappedDrive(string organizationId, string drive, string labelAs, string path, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("CreateMappedDrive", new object[] {
organizationId,
drive,
labelAs,
path}, callback, asyncState);
}
-
+
///
- public int EndCreateMappedDrive(System.IAsyncResult asyncResult)
- {
+ public int EndCreateMappedDrive(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
-
+
///
- public void CreateMappedDriveAsync(string organizationId, string drive, string labelAs, string path)
- {
+ public void CreateMappedDriveAsync(string organizationId, string drive, string labelAs, string path) {
this.CreateMappedDriveAsync(organizationId, drive, labelAs, path, null);
}
-
+
///
- public void CreateMappedDriveAsync(string organizationId, string drive, string labelAs, string path, object userState)
- {
- if ((this.CreateMappedDriveOperationCompleted == null))
- {
+ public void CreateMappedDriveAsync(string organizationId, string drive, string labelAs, string path, object userState) {
+ if ((this.CreateMappedDriveOperationCompleted == null)) {
this.CreateMappedDriveOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateMappedDriveOperationCompleted);
}
this.InvokeAsync("CreateMappedDrive", new object[] {
@@ -1611,203 +1404,171 @@ namespace WebsitePanel.Providers.HostedSolution
labelAs,
path}, this.CreateMappedDriveOperationCompleted, userState);
}
-
- private void OnCreateMappedDriveOperationCompleted(object arg)
- {
- if ((this.CreateMappedDriveCompleted != null))
- {
+
+ private void OnCreateMappedDriveOperationCompleted(object arg) {
+ if ((this.CreateMappedDriveCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.CreateMappedDriveCompleted(this, new CreateMappedDriveCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DeleteMappedDrive", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void DeleteMappedDrive(string organizationId, string drive)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DeleteMappedDrive", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void DeleteMappedDrive(string organizationId, string drive) {
this.Invoke("DeleteMappedDrive", new object[] {
organizationId,
drive});
}
-
+
///
- public System.IAsyncResult BeginDeleteMappedDrive(string organizationId, string drive, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginDeleteMappedDrive(string organizationId, string drive, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("DeleteMappedDrive", new object[] {
organizationId,
drive}, callback, asyncState);
}
-
+
///
- public void EndDeleteMappedDrive(System.IAsyncResult asyncResult)
- {
+ public void EndDeleteMappedDrive(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void DeleteMappedDriveAsync(string organizationId, string drive)
- {
+ public void DeleteMappedDriveAsync(string organizationId, string drive) {
this.DeleteMappedDriveAsync(organizationId, drive, null);
}
-
+
///
- public void DeleteMappedDriveAsync(string organizationId, string drive, object userState)
- {
- if ((this.DeleteMappedDriveOperationCompleted == null))
- {
+ public void DeleteMappedDriveAsync(string organizationId, string drive, object userState) {
+ if ((this.DeleteMappedDriveOperationCompleted == null)) {
this.DeleteMappedDriveOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteMappedDriveOperationCompleted);
}
this.InvokeAsync("DeleteMappedDrive", new object[] {
organizationId,
drive}, this.DeleteMappedDriveOperationCompleted, userState);
}
-
- private void OnDeleteMappedDriveOperationCompleted(object arg)
- {
- if ((this.DeleteMappedDriveCompleted != null))
- {
+
+ private void OnDeleteMappedDriveOperationCompleted(object arg) {
+ if ((this.DeleteMappedDriveCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.DeleteMappedDriveCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DeleteMappedDriveByPath", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void DeleteMappedDriveByPath(string organizationId, string path)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DeleteMappedDriveByPath", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void DeleteMappedDriveByPath(string organizationId, string path) {
this.Invoke("DeleteMappedDriveByPath", new object[] {
organizationId,
path});
}
-
+
///
- public System.IAsyncResult BeginDeleteMappedDriveByPath(string organizationId, string path, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginDeleteMappedDriveByPath(string organizationId, string path, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("DeleteMappedDriveByPath", new object[] {
organizationId,
path}, callback, asyncState);
}
-
+
///
- public void EndDeleteMappedDriveByPath(System.IAsyncResult asyncResult)
- {
+ public void EndDeleteMappedDriveByPath(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void DeleteMappedDriveByPathAsync(string organizationId, string path)
- {
+ public void DeleteMappedDriveByPathAsync(string organizationId, string path) {
this.DeleteMappedDriveByPathAsync(organizationId, path, null);
}
-
+
///
- public void DeleteMappedDriveByPathAsync(string organizationId, string path, object userState)
- {
- if ((this.DeleteMappedDriveByPathOperationCompleted == null))
- {
+ public void DeleteMappedDriveByPathAsync(string organizationId, string path, object userState) {
+ if ((this.DeleteMappedDriveByPathOperationCompleted == null)) {
this.DeleteMappedDriveByPathOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteMappedDriveByPathOperationCompleted);
}
this.InvokeAsync("DeleteMappedDriveByPath", new object[] {
organizationId,
path}, this.DeleteMappedDriveByPathOperationCompleted, userState);
}
-
- private void OnDeleteMappedDriveByPathOperationCompleted(object arg)
- {
- if ((this.DeleteMappedDriveByPathCompleted != null))
- {
+
+ private void OnDeleteMappedDriveByPathOperationCompleted(object arg) {
+ if ((this.DeleteMappedDriveByPathCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.DeleteMappedDriveByPathCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DeleteMappedDrivesGPO", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void DeleteMappedDrivesGPO(string organizationId)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DeleteMappedDrivesGPO", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void DeleteMappedDrivesGPO(string organizationId) {
this.Invoke("DeleteMappedDrivesGPO", new object[] {
organizationId});
}
-
+
///
- public System.IAsyncResult BeginDeleteMappedDrivesGPO(string organizationId, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginDeleteMappedDrivesGPO(string organizationId, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("DeleteMappedDrivesGPO", new object[] {
organizationId}, callback, asyncState);
}
-
+
///
- public void EndDeleteMappedDrivesGPO(System.IAsyncResult asyncResult)
- {
+ public void EndDeleteMappedDrivesGPO(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void DeleteMappedDrivesGPOAsync(string organizationId)
- {
+ public void DeleteMappedDrivesGPOAsync(string organizationId) {
this.DeleteMappedDrivesGPOAsync(organizationId, null);
}
-
+
///
- public void DeleteMappedDrivesGPOAsync(string organizationId, object userState)
- {
- if ((this.DeleteMappedDrivesGPOOperationCompleted == null))
- {
+ public void DeleteMappedDrivesGPOAsync(string organizationId, object userState) {
+ if ((this.DeleteMappedDrivesGPOOperationCompleted == null)) {
this.DeleteMappedDrivesGPOOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteMappedDrivesGPOOperationCompleted);
}
this.InvokeAsync("DeleteMappedDrivesGPO", new object[] {
organizationId}, this.DeleteMappedDrivesGPOOperationCompleted, userState);
}
-
- private void OnDeleteMappedDrivesGPOOperationCompleted(object arg)
- {
- if ((this.DeleteMappedDrivesGPOCompleted != null))
- {
+
+ private void OnDeleteMappedDrivesGPOOperationCompleted(object arg) {
+ if ((this.DeleteMappedDrivesGPOCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.DeleteMappedDrivesGPOCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/SetDriveMapsTargetingFilter", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void SetDriveMapsTargetingFilter(string organizationId, ExchangeAccount[] accounts, string folderName)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/SetDriveMapsTargetingFilter", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void SetDriveMapsTargetingFilter(string organizationId, ExchangeAccount[] accounts, string folderName) {
this.Invoke("SetDriveMapsTargetingFilter", new object[] {
organizationId,
accounts,
folderName});
}
-
+
///
- public System.IAsyncResult BeginSetDriveMapsTargetingFilter(string organizationId, ExchangeAccount[] accounts, string folderName, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginSetDriveMapsTargetingFilter(string organizationId, ExchangeAccount[] accounts, string folderName, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("SetDriveMapsTargetingFilter", new object[] {
organizationId,
accounts,
folderName}, callback, asyncState);
}
-
+
///
- public void EndSetDriveMapsTargetingFilter(System.IAsyncResult asyncResult)
- {
+ public void EndSetDriveMapsTargetingFilter(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void SetDriveMapsTargetingFilterAsync(string organizationId, ExchangeAccount[] accounts, string folderName)
- {
+ public void SetDriveMapsTargetingFilterAsync(string organizationId, ExchangeAccount[] accounts, string folderName) {
this.SetDriveMapsTargetingFilterAsync(organizationId, accounts, folderName, null);
}
-
+
///
- public void SetDriveMapsTargetingFilterAsync(string organizationId, ExchangeAccount[] accounts, string folderName, object userState)
- {
- if ((this.SetDriveMapsTargetingFilterOperationCompleted == null))
- {
+ public void SetDriveMapsTargetingFilterAsync(string organizationId, ExchangeAccount[] accounts, string folderName, object userState) {
+ if ((this.SetDriveMapsTargetingFilterOperationCompleted == null)) {
this.SetDriveMapsTargetingFilterOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetDriveMapsTargetingFilterOperationCompleted);
}
this.InvokeAsync("SetDriveMapsTargetingFilter", new object[] {
@@ -1815,53 +1576,45 @@ namespace WebsitePanel.Providers.HostedSolution
accounts,
folderName}, this.SetDriveMapsTargetingFilterOperationCompleted, userState);
}
-
- private void OnSetDriveMapsTargetingFilterOperationCompleted(object arg)
- {
- if ((this.SetDriveMapsTargetingFilterCompleted != null))
- {
+
+ private void OnSetDriveMapsTargetingFilterOperationCompleted(object arg) {
+ if ((this.SetDriveMapsTargetingFilterCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.SetDriveMapsTargetingFilterCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/ChangeDriveMapFolderPath", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void ChangeDriveMapFolderPath(string organizationId, string oldFolder, string newFolder)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/ChangeDriveMapFolderPath", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void ChangeDriveMapFolderPath(string organizationId, string oldFolder, string newFolder) {
this.Invoke("ChangeDriveMapFolderPath", new object[] {
organizationId,
oldFolder,
newFolder});
}
-
+
///
- public System.IAsyncResult BeginChangeDriveMapFolderPath(string organizationId, string oldFolder, string newFolder, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginChangeDriveMapFolderPath(string organizationId, string oldFolder, string newFolder, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("ChangeDriveMapFolderPath", new object[] {
organizationId,
oldFolder,
newFolder}, callback, asyncState);
}
-
+
///
- public void EndChangeDriveMapFolderPath(System.IAsyncResult asyncResult)
- {
+ public void EndChangeDriveMapFolderPath(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void ChangeDriveMapFolderPathAsync(string organizationId, string oldFolder, string newFolder)
- {
+ public void ChangeDriveMapFolderPathAsync(string organizationId, string oldFolder, string newFolder) {
this.ChangeDriveMapFolderPathAsync(organizationId, oldFolder, newFolder, null);
}
-
+
///
- public void ChangeDriveMapFolderPathAsync(string organizationId, string oldFolder, string newFolder, object userState)
- {
- if ((this.ChangeDriveMapFolderPathOperationCompleted == null))
- {
+ public void ChangeDriveMapFolderPathAsync(string organizationId, string oldFolder, string newFolder, object userState) {
+ if ((this.ChangeDriveMapFolderPathOperationCompleted == null)) {
this.ChangeDriveMapFolderPathOperationCompleted = new System.Threading.SendOrPostCallback(this.OnChangeDriveMapFolderPathOperationCompleted);
}
this.InvokeAsync("ChangeDriveMapFolderPath", new object[] {
@@ -1869,418 +1622,442 @@ namespace WebsitePanel.Providers.HostedSolution
oldFolder,
newFolder}, this.ChangeDriveMapFolderPathOperationCompleted, userState);
}
-
- private void OnChangeDriveMapFolderPathOperationCompleted(object arg)
- {
- if ((this.ChangeDriveMapFolderPathCompleted != null))
- {
+
+ private void OnChangeDriveMapFolderPathOperationCompleted(object arg) {
+ if ((this.ChangeDriveMapFolderPathCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.ChangeDriveMapFolderPathCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
- public new void CancelAsync(object userState)
- {
+ [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetOrganizationUsersWithExpiredPassword", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public OrganizationUser[] GetOrganizationUsersWithExpiredPassword(string organizationId, int daysBeforeExpiration) {
+ object[] results = this.Invoke("GetOrganizationUsersWithExpiredPassword", new object[] {
+ organizationId,
+ daysBeforeExpiration});
+ return ((OrganizationUser[])(results[0]));
+ }
+
+ ///
+ public System.IAsyncResult BeginGetOrganizationUsersWithExpiredPassword(string organizationId, int daysBeforeExpiration, System.AsyncCallback callback, object asyncState) {
+ return this.BeginInvoke("GetOrganizationUsersWithExpiredPassword", new object[] {
+ organizationId,
+ daysBeforeExpiration}, callback, asyncState);
+ }
+
+ ///
+ public OrganizationUser[] EndGetOrganizationUsersWithExpiredPassword(System.IAsyncResult asyncResult) {
+ object[] results = this.EndInvoke(asyncResult);
+ return ((OrganizationUser[])(results[0]));
+ }
+
+ ///
+ public void GetOrganizationUsersWithExpiredPasswordAsync(string organizationId, int daysBeforeExpiration) {
+ this.GetOrganizationUsersWithExpiredPasswordAsync(organizationId, daysBeforeExpiration, null);
+ }
+
+ ///
+ public void GetOrganizationUsersWithExpiredPasswordAsync(string organizationId, int daysBeforeExpiration, object userState) {
+ if ((this.GetOrganizationUsersWithExpiredPasswordOperationCompleted == null)) {
+ this.GetOrganizationUsersWithExpiredPasswordOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetOrganizationUsersWithExpiredPasswordOperationCompleted);
+ }
+ this.InvokeAsync("GetOrganizationUsersWithExpiredPassword", new object[] {
+ organizationId,
+ daysBeforeExpiration}, this.GetOrganizationUsersWithExpiredPasswordOperationCompleted, userState);
+ }
+
+ private void OnGetOrganizationUsersWithExpiredPasswordOperationCompleted(object arg) {
+ if ((this.GetOrganizationUsersWithExpiredPasswordCompleted != null)) {
+ System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+ this.GetOrganizationUsersWithExpiredPasswordCompleted(this, new GetOrganizationUsersWithExpiredPasswordCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+ }
+ }
+
+ ///
+ public new void CancelAsync(object userState) {
base.CancelAsync(userState);
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void OrganizationExistsCompletedEventHandler(object sender, OrganizationExistsCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class OrganizationExistsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class OrganizationExistsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal OrganizationExistsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal OrganizationExistsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public bool Result
- {
- get
- {
+ public bool Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((bool)(this.results[0]));
}
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void CreateOrganizationCompletedEventHandler(object sender, CreateOrganizationCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class CreateOrganizationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class CreateOrganizationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal CreateOrganizationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal CreateOrganizationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public Organization Result
- {
- get
- {
+ public Organization Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((Organization)(this.results[0]));
}
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void DeleteOrganizationCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void CreateUserCompletedEventHandler(object sender, CreateUserCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class CreateUserCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class CreateUserCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal CreateUserCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal CreateUserCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public int Result
- {
- get
- {
+ public int Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((int)(this.results[0]));
}
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void DisableUserCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void DeleteUserCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetUserGeneralSettingsCompletedEventHandler(object sender, GetUserGeneralSettingsCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetUserGeneralSettingsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetUserGeneralSettingsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetUserGeneralSettingsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetUserGeneralSettingsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public OrganizationUser Result
- {
- get
- {
+ public OrganizationUser Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((OrganizationUser)(this.results[0]));
}
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void CreateSecurityGroupCompletedEventHandler(object sender, CreateSecurityGroupCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class CreateSecurityGroupCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class CreateSecurityGroupCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal CreateSecurityGroupCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal CreateSecurityGroupCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public int Result
- {
- get
- {
+ public int Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((int)(this.results[0]));
}
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetSecurityGroupGeneralSettingsCompletedEventHandler(object sender, GetSecurityGroupGeneralSettingsCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetSecurityGroupGeneralSettingsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetSecurityGroupGeneralSettingsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetSecurityGroupGeneralSettingsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetSecurityGroupGeneralSettingsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public OrganizationSecurityGroup Result
- {
- get
- {
+ public OrganizationSecurityGroup Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((OrganizationSecurityGroup)(this.results[0]));
}
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void DeleteSecurityGroupCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void SetSecurityGroupGeneralSettingsCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void AddObjectToSecurityGroupCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void DeleteObjectFromSecurityGroupCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void SetUserGeneralSettingsCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void SetUserPasswordCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void SetUserPrincipalNameCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void DeleteOrganizationDomainCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void CreateOrganizationDomainCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetPasswordPolicyCompletedEventHandler(object sender, GetPasswordPolicyCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetPasswordPolicyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetPasswordPolicyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetPasswordPolicyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetPasswordPolicyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public PasswordPolicyResult Result
- {
- get
- {
+ public PasswordPolicyResult Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((PasswordPolicyResult)(this.results[0]));
}
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetSamAccountNameByUserPrincipalNameCompletedEventHandler(object sender, GetSamAccountNameByUserPrincipalNameCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetSamAccountNameByUserPrincipalNameCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetSamAccountNameByUserPrincipalNameCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetSamAccountNameByUserPrincipalNameCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetSamAccountNameByUserPrincipalNameCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public string Result
- {
- get
- {
+ public string Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void DoesSamAccountNameExistCompletedEventHandler(object sender, DoesSamAccountNameExistCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class DoesSamAccountNameExistCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class DoesSamAccountNameExistCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal DoesSamAccountNameExistCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal DoesSamAccountNameExistCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public bool Result
- {
- get
- {
+ public bool Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((bool)(this.results[0]));
}
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetDriveMapsCompletedEventHandler(object sender, GetDriveMapsCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetDriveMapsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetDriveMapsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetDriveMapsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetDriveMapsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public MappedDrive[] Result
- {
- get
- {
+ public MappedDrive[] Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((MappedDrive[])(this.results[0]));
}
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void CreateMappedDriveCompletedEventHandler(object sender, CreateMappedDriveCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class CreateMappedDriveCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class CreateMappedDriveCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal CreateMappedDriveCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal CreateMappedDriveCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public int Result
- {
- get
- {
+ public int Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((int)(this.results[0]));
}
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void DeleteMappedDriveCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void DeleteMappedDriveByPathCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void DeleteMappedDrivesGPOCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void SetDriveMapsTargetingFilterCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void ChangeDriveMapFolderPathCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
+ public delegate void GetOrganizationUsersWithExpiredPasswordCompletedEventHandler(object sender, GetOrganizationUsersWithExpiredPasswordCompletedEventArgs e);
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ public partial class GetOrganizationUsersWithExpiredPasswordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
+ private object[] results;
+
+ internal GetOrganizationUsersWithExpiredPasswordCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
+ this.results = results;
+ }
+
+ ///
+ public OrganizationUser[] Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((OrganizationUser[])(this.results[0]));
+ }
+ }
+ }
}
diff --git a/WebsitePanel/Sources/WebsitePanel.Server/Organizations.asmx.cs b/WebsitePanel/Sources/WebsitePanel.Server/Organizations.asmx.cs
index 2b2abc5f..4cae8631 100644
--- a/WebsitePanel/Sources/WebsitePanel.Server/Organizations.asmx.cs
+++ b/WebsitePanel/Sources/WebsitePanel.Server/Organizations.asmx.cs
@@ -27,6 +27,7 @@
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
using System;
+using System.Collections.Generic;
using System.ComponentModel;
using System.Web.Services;
using System.Web.Services.Protocols;
@@ -254,5 +255,11 @@ namespace WebsitePanel.Server
{
Organization.ChangeDriveMapFolderPath(organizationId, oldFolder, newFolder);
}
+
+ [WebMethod, SoapHeader("settings")]
+ public List GetOrganizationUsersWithExpiredPassword(string organizationId, int daysBeforeExpiration)
+ {
+ return Organization.GetOrganizationUsersWithExpiredPassword(organizationId, daysBeforeExpiration);
+ }
}
}
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Data/ESModule_ControlsHierarchy.config b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Data/ESModule_ControlsHierarchy.config
index 7ed16940..f79eefba 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Data/ESModule_ControlsHierarchy.config
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Data/ESModule_ControlsHierarchy.config
@@ -13,6 +13,7 @@
+
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Data/WebsitePanel_Modules.config b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Data/WebsitePanel_Modules.config
index ecbdc1f6..e3263482 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Data/WebsitePanel_Modules.config
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Data/WebsitePanel_Modules.config
@@ -471,6 +471,7 @@
+
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_GlobalResources/WebsitePanel_SharedResources.ascx.resx b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_GlobalResources/WebsitePanel_SharedResources.ascx.resx
index cbff0b24..975a6a96 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_GlobalResources/WebsitePanel_SharedResources.ascx.resx
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_GlobalResources/WebsitePanel_SharedResources.ascx.resx
@@ -3345,7 +3345,6 @@
CRM 4/2011
-
BlackBerry
@@ -3377,7 +3376,7 @@
SharePoint Foundation Server
-
+
SharePoint Server
@@ -5711,4 +5710,7 @@
RDS User experience has been updated
+
+ User password expiration notification
+
\ No newline at end of file
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/SettingsUserPasswordExpirationLetter.ascx.resx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/SettingsUserPasswordExpirationLetter.ascx.resx
new file mode 100644
index 00000000..b8764bdc
--- /dev/null
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/SettingsUserPasswordExpirationLetter.ascx.resx
@@ -0,0 +1,156 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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
+
+
+ High
+
+
+ Low
+
+
+ Normal
+
+
+ From:
+
+
+ HTML Body:
+
+
+ Logo Url:
+
+
+ No Changes HTML Body:
+
+
+ No Changes Text Body:
+
+
+ Priority:
+
+
+ Subject:
+
+
+ Text Body:
+
+
+ Webdav portal reset URL:
+
+
\ No newline at end of file
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/UserAccountMailTemplateSettings.ascx.resx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/UserAccountMailTemplateSettings.ascx.resx
index 2e02f4fe..1ea4b782 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/UserAccountMailTemplateSettings.ascx.resx
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/UserAccountMailTemplateSettings.ascx.resx
@@ -150,4 +150,7 @@
RDS Setup Letter
+
+ User Password Expiration Letter
+
\ No newline at end of file
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/App_LocalResources/OrganizationUserGeneralSettings.ascx.resx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/App_LocalResources/OrganizationUserGeneralSettings.ascx.resx
index bcbae1f8..ab9d05c4 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/App_LocalResources/OrganizationUserGeneralSettings.ascx.resx
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/App_LocalResources/OrganizationUserGeneralSettings.ascx.resx
@@ -255,4 +255,7 @@
User must change password at next logon
+
+ Reset Password
+
\ No newline at end of file
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/App_LocalResources/OrganizationUserResetPassword.ascx.resx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/App_LocalResources/OrganizationUserResetPassword.ascx.resx
new file mode 100644
index 00000000..521750a1
--- /dev/null
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/App_LocalResources/OrganizationUserResetPassword.ascx.resx
@@ -0,0 +1,132 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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
+
+
+ Sent Password Reset Email
+
+
+ Email:
+
+
+ Reason:
+
+
+ Reset Password
+
+
\ No newline at end of file
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/OrganizationUserGeneralSettings.ascx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/OrganizationUserGeneralSettings.ascx
index 0cdd7181..dad039a0 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/OrganizationUserGeneralSettings.ascx
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/OrganizationUserGeneralSettings.ascx
@@ -74,6 +74,8 @@
+
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/OrganizationUserGeneralSettings.ascx.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/OrganizationUserGeneralSettings.ascx.cs
index faf9723b..bde31fc9 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/OrganizationUserGeneralSettings.ascx.cs
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/OrganizationUserGeneralSettings.ascx.cs
@@ -435,5 +435,13 @@ namespace WebsitePanel.Portal.HostedSolution
}
+ protected void btnResetUserPassword_Click(object sender, EventArgs e)
+ {
+ Response.Redirect(PortalUtils.EditUrl("ItemID", PanelRequest.ItemID.ToString(),
+ "user_reset_password",
+ "SpaceID=" + PanelSecurity.PackageId,
+ "Context=" + ((PanelRequest.Context == "Mailbox") ? "Mailbox" : "User"),
+ "AccountID=" + PanelRequest.AccountID));
+ }
}
}
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/OrganizationUserGeneralSettings.ascx.designer.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/OrganizationUserGeneralSettings.ascx.designer.cs
index 555a2e6a..3ad5507c 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/OrganizationUserGeneralSettings.ascx.designer.cs
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/OrganizationUserGeneralSettings.ascx.designer.cs
@@ -210,6 +210,15 @@ namespace WebsitePanel.Portal.HostedSolution {
///
protected global::System.Web.UI.WebControls.ValidationSummary ValidationSummary2;
+ ///
+ /// btnResetUserPassword control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button btnResetUserPassword;
+
///
/// chkUserMustChangePassword control.
///
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/OrganizationUserResetPassword.ascx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/OrganizationUserResetPassword.ascx
new file mode 100644
index 00000000..b49be890
--- /dev/null
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/OrganizationUserResetPassword.ascx
@@ -0,0 +1,45 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="OrganizationUserResetPassword.ascx.cs" Inherits="WebsitePanel.Portal.ExchangeServer.OrganizationUserResetPassword" %>
+
+<%@ Register Src="../UserControls/ItemButtonPanel.ascx" TagName="ItemButtonPanel" TagPrefix="wsp" %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+ |
+
+
+
+ |
+
+
+
+
+
+
+
+
+
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/OrganizationUserResetPassword.ascx.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/OrganizationUserResetPassword.ascx.cs
new file mode 100644
index 00000000..7aa28e6f
--- /dev/null
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/OrganizationUserResetPassword.ascx.cs
@@ -0,0 +1,43 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using WebsitePanel.Providers.HostedSolution;
+
+namespace WebsitePanel.Portal.ExchangeServer
+{
+ public partial class OrganizationUserResetPassword : WebsitePanelModuleBase
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ BindSettings();
+ }
+ }
+
+ private void BindSettings()
+ {
+ OrganizationUser user = ES.Services.Organizations.GetUserGeneralSettings(PanelRequest.ItemID,
+ PanelRequest.AccountID);
+
+ litDisplayName.Text = PortalAntiXSS.Encode(user.DisplayName);
+
+ txtEmailAddress.Text = user.PrimaryEmailAddress;
+ }
+
+ protected void btnResetPassoword_Click(object sender, EventArgs e)
+ {
+ if (!Page.IsValid)
+ {
+ return;
+ }
+
+ Response.Redirect(PortalUtils.EditUrl("ItemID", PanelRequest.ItemID.ToString(),
+ (PanelRequest.Context == "Mailbox") ? "mailboxes" : "users",
+ "SpaceID=" + PanelSecurity.PackageId));
+ }
+ }
+}
\ No newline at end of file
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/OrganizationUserResetPassword.ascx.designer.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/OrganizationUserResetPassword.ascx.designer.cs
new file mode 100644
index 00000000..5b263a84
--- /dev/null
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/OrganizationUserResetPassword.ascx.designer.cs
@@ -0,0 +1,114 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebsitePanel.Portal.ExchangeServer {
+
+
+ public partial class OrganizationUserResetPassword {
+
+ ///
+ /// Image1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Image Image1;
+
+ ///
+ /// locTitle control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Localize locTitle;
+
+ ///
+ /// litDisplayName control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Literal litDisplayName;
+
+ ///
+ /// locEmailAddress control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Localize locEmailAddress;
+
+ ///
+ /// txtEmailAddress control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtEmailAddress;
+
+ ///
+ /// valEmailAddress control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.RequiredFieldValidator valEmailAddress;
+
+ ///
+ /// regexEmailValid control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.RegularExpressionValidator regexEmailValid;
+
+ ///
+ /// locReason control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Localize locReason;
+
+ ///
+ /// txtReason control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtReason;
+
+ ///
+ /// valReason control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.RequiredFieldValidator valReason;
+
+ ///
+ /// btnResetPassoword control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button btnResetPassoword;
+ }
+}
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ScheduleTaskControls/App_LocalResources/UserPasswordExpirationNotificationView.ascx.resx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ScheduleTaskControls/App_LocalResources/UserPasswordExpirationNotificationView.ascx.resx
new file mode 100644
index 00000000..85c90909
--- /dev/null
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ScheduleTaskControls/App_LocalResources/UserPasswordExpirationNotificationView.ascx.resx
@@ -0,0 +1,101 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 1.3
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ScheduleTaskControls/UserPasswordExpirationNotificationView.ascx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ScheduleTaskControls/UserPasswordExpirationNotificationView.ascx
new file mode 100644
index 00000000..54882d71
--- /dev/null
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ScheduleTaskControls/UserPasswordExpirationNotificationView.ascx
@@ -0,0 +1,13 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UserPasswordExpirationNotificationView.ascx.cs" Inherits="WebsitePanel.Portal.ScheduleTaskControls.UserPasswordExpirationNotificationView" %>
+
+
+
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ScheduleTaskControls/UserPasswordExpirationNotificationView.ascx.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ScheduleTaskControls/UserPasswordExpirationNotificationView.ascx.cs
new file mode 100644
index 00000000..dab296de
--- /dev/null
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ScheduleTaskControls/UserPasswordExpirationNotificationView.ascx.cs
@@ -0,0 +1,43 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using WebsitePanel.EnterpriseServer;
+using WebsitePanel.Portal.UserControls.ScheduleTaskView;
+
+namespace WebsitePanel.Portal.ScheduleTaskControls
+{
+ public partial class UserPasswordExpirationNotificationView : EmptyView
+ {
+ private static readonly string DaysBeforeParameter = "DAYS_BEFORE_EXPIRATION";
+
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+
+ ///
+ /// Sets scheduler task parameters on view.
+ ///
+ /// Parameters list to be set on view.
+ public override void SetParameters(ScheduleTaskParameterInfo[] parameters)
+ {
+ base.SetParameters(parameters);
+
+ this.SetParameter(this.txtDaysBeforeNotify, DaysBeforeParameter);
+ }
+
+ ///
+ /// Gets scheduler task parameters from view.
+ ///
+ /// Parameters list filled from view.
+ public override ScheduleTaskParameterInfo[] GetParameters()
+ {
+ ScheduleTaskParameterInfo daysBefore = this.GetParameter(this.txtDaysBeforeNotify, DaysBeforeParameter);
+
+ return new[] { daysBefore };
+ }
+ }
+}
\ No newline at end of file
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ScheduleTaskControls/UserPasswordExpirationNotificationView.ascx.designer.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ScheduleTaskControls/UserPasswordExpirationNotificationView.ascx.designer.cs
new file mode 100644
index 00000000..cb733b60
--- /dev/null
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ScheduleTaskControls/UserPasswordExpirationNotificationView.ascx.designer.cs
@@ -0,0 +1,33 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebsitePanel.Portal.ScheduleTaskControls {
+
+
+ public partial class UserPasswordExpirationNotificationView {
+
+ ///
+ /// lblDayBeforeNotify control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblDayBeforeNotify;
+
+ ///
+ /// txtDaysBeforeNotify control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtDaysBeforeNotify;
+ }
+}
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsUserPasswordExpirationLetter.ascx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsUserPasswordExpirationLetter.ascx
new file mode 100644
index 00000000..a041b140
--- /dev/null
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsUserPasswordExpirationLetter.ascx
@@ -0,0 +1,49 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SettingsUserPasswordExpirationLetter.ascx.cs" Inherits="WebsitePanel.Portal.SettingsUserPasswordExpirationLetter" %>
+
+
+
+ |
+
+ |
+
+
+ |
+
+ |
+
+
+ |
+
+
+ High
+ Normal
+ Low
+
+ |
+
+
+ |
+
+ |
+
+
+ |
+
+ |
+
+
+
|
+
+
+
+ |
+
+
+
|
+
+
+
+ |
+
+
+
\ No newline at end of file
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsUserPasswordExpirationLetter.ascx.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsUserPasswordExpirationLetter.ascx.cs
new file mode 100644
index 00000000..189e66e7
--- /dev/null
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsUserPasswordExpirationLetter.ascx.cs
@@ -0,0 +1,35 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using WebsitePanel.EnterpriseServer;
+
+namespace WebsitePanel.Portal
+{
+ public partial class SettingsUserPasswordExpirationLetter : WebsitePanelControlBase, IUserSettingsEditorControl
+ {
+ public void BindSettings(UserSettings settings)
+ {
+ txtFrom.Text = settings["From"];
+ txtWebDavPortalResetUrl.Text = settings["WebDavPortalResetUrl"];
+ txtSubject.Text = settings["Subject"];
+ Utils.SelectListItem(ddlPriority, settings["Priority"]);
+ txtHtmlBody.Text = settings["HtmlBody"];
+ txtTextBody.Text = settings["TextBody"];
+ txtLogoUrl.Text = settings["LogoUrl"];
+ }
+
+ public void SaveSettings(UserSettings settings)
+ {
+ settings["From"] = txtFrom.Text;
+ settings["WebDavPortalResetUrl"] = txtWebDavPortalResetUrl.Text;
+ settings["Subject"] = txtSubject.Text;
+ settings["Priority"] = ddlPriority.SelectedValue;
+ settings["HtmlBody"] = txtHtmlBody.Text;
+ settings["TextBody"] = txtTextBody.Text;
+ settings["LogoUrl"] = txtLogoUrl.Text;
+ }
+ }
+}
\ No newline at end of file
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsUserPasswordExpirationLetter.ascx.designer.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsUserPasswordExpirationLetter.ascx.designer.cs
new file mode 100644
index 00000000..e8bba7b9
--- /dev/null
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsUserPasswordExpirationLetter.ascx.designer.cs
@@ -0,0 +1,141 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebsitePanel.Portal {
+
+
+ public partial class SettingsUserPasswordExpirationLetter {
+
+ ///
+ /// lblFrom control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblFrom;
+
+ ///
+ /// txtFrom control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtFrom;
+
+ ///
+ /// lblSubject control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblSubject;
+
+ ///
+ /// txtSubject control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtSubject;
+
+ ///
+ /// lblPriority control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblPriority;
+
+ ///
+ /// ddlPriority control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.DropDownList ddlPriority;
+
+ ///
+ /// lblLogoUrl control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblLogoUrl;
+
+ ///
+ /// txtLogoUrl control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtLogoUrl;
+
+ ///
+ /// lblWebDavPortalResetUrl control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblWebDavPortalResetUrl;
+
+ ///
+ /// txtWebDavPortalResetUrl control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtWebDavPortalResetUrl;
+
+ ///
+ /// lblHtmlBody control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblHtmlBody;
+
+ ///
+ /// txtHtmlBody control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtHtmlBody;
+
+ ///
+ /// lblTextBody control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblTextBody;
+
+ ///
+ /// txtTextBody control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtTextBody;
+ }
+}
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserAccountMailTemplateSettings.ascx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserAccountMailTemplateSettings.ascx
index 37f5ca86..9df60dfc 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserAccountMailTemplateSettings.ascx
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserAccountMailTemplateSettings.ascx
@@ -42,6 +42,10 @@
+
+
+