websitepanel/WebsitePanel/Sources/WebsitePanel.Providers.Base/HostedSolution/OrganizationUser.cs
robvde 50f2c43315 Significant amount of changes to hosted organizations and exchange:
Exchange 2010 SP2 provisioning separated through a new provider
Exchange 2010 SP2 now compliant with product group guidelines
Support for Database Availability Group
Fixed Distribution List view scope to only tenant
Consumer support (individual mailboxes as hotmail) added
Mailbox configuration moved to mailbox plans concept
CN creation is now based on UPN
sAMAccountName generation revised and decoupled from tenant name
2007 (ACL Based), 2010 (ACL Bases), 2010 SP2 (ABP) supported
Automated Hosted Organization provisioning added to create hosting space
Enterprise Server webservice extended with ImportMethod
Mobile tab fixed
Added more information to users listview
2012-07-09 12:03:24 +04:00

311 lines
8.1 KiB
C#

// Copyright (c) 2012, 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 System;
namespace WebsitePanel.Providers.HostedSolution
{
public class OrganizationUser
{
private int accountId;
private int itemId;
private int packageId;
private string subscriberNumber;
private string primaryEmailAddress;
private string accountPassword;
private string samAccountName;
private string displayName;
private string accountName;
private string firstName;
private string initials;
private string lastName;
private string jobTitle;
private string company;
private string department;
private string office;
private string businessPhone;
private string fax;
private string homePhone;
private string mobilePhone;
private string pager;
private string webPage;
private string address;
private string city;
private string state;
private string zip;
private string country;
private string notes;
private string domainUserName;
private bool disabled;
private bool locked;
private bool isOCSUser;
private bool isBlackBerryUser;
private bool isLyncUser;
ExchangeAccountType accountType;
private OrganizationUser manager;
private Guid crmUserId;
public Guid CrmUserId
{
get { return crmUserId; }
set { crmUserId = value; }
}
public string DomainUserName
{
get { return domainUserName; }
set { domainUserName = value; }
}
public ExchangeAccountType AccountType
{
get { return accountType; }
set { accountType = value; }
}
public OrganizationUser Manager
{
get { return manager; }
set { manager = value; }
}
public bool Disabled
{
get { return disabled; }
set { disabled = value; }
}
public string FirstName
{
get { return firstName; }
set { firstName = value; }
}
public string Initials
{
get { return initials; }
set { initials = value; }
}
public string LastName
{
get { return lastName; }
set { lastName = value; }
}
public string JobTitle
{
get { return jobTitle; }
set { jobTitle = value; }
}
public string Company
{
get { return company; }
set { company = value; }
}
public string Department
{
get { return department; }
set { department = value; }
}
public string Office
{
get { return office; }
set { office = value; }
}
public string BusinessPhone
{
get { return businessPhone; }
set { businessPhone = value; }
}
public string Fax
{
get { return fax; }
set { fax = value; }
}
public string HomePhone
{
get { return homePhone; }
set { homePhone = value; }
}
public string MobilePhone
{
get { return mobilePhone; }
set { mobilePhone = value; }
}
public string Pager
{
get { return pager; }
set { pager = value; }
}
public string WebPage
{
get { return webPage; }
set { webPage = value; }
}
public string Address
{
get { return address; }
set { address = value; }
}
public string City
{
get { return city; }
set { city = value; }
}
public string State
{
get { return state; }
set { state = value; }
}
public string Zip
{
get { return zip; }
set { zip = value; }
}
public string Country
{
get { return country; }
set { country = value; }
}
public string Notes
{
get { return notes; }
set { notes = value; }
}
public int AccountId
{
get { return accountId; }
set { accountId = value; }
}
public int ItemId
{
get { return itemId; }
set { itemId = value; }
}
public int PackageId
{
get { return packageId; }
set { packageId = value; }
}
public string AccountName
{
get { return accountName; }
set { accountName = value; }
}
public string SamAccountName
{
get { return samAccountName; }
set { samAccountName = value; }
}
public string DisplayName
{
get { return displayName; }
set { displayName = value; }
}
public string PrimaryEmailAddress
{
get { return primaryEmailAddress; }
set { primaryEmailAddress = value; }
}
public string AccountPassword
{
get { return accountPassword; }
set { accountPassword = value; }
}
public string ExternalEmail { get; set; }
public string DistinguishedName { get; set; }
public bool Locked
{
get { return locked; }
set { locked = value; }
}
public bool IsOCSUser
{
get { return isOCSUser; }
set { isOCSUser = value; }
}
public bool IsLyncUser
{
get { return isLyncUser; }
set { isLyncUser = value; }
}
public bool IsBlackBerryUser
{
get { return isBlackBerryUser; }
set { isBlackBerryUser = value; }
}
public string SubscriberNumber
{
get { return subscriberNumber; }
set { subscriberNumber = value; }
}
}
}