FrameworkTemplate/SolutionTemplate/Models/Entities/systemuser.cs

#pragma warning disable CS1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
 
namespace ModelBuilder
{
     
     
    /// <summary>
    /// Type of user.
    /// </summary>
    [System.Runtime.Serialization.DataContractAttribute()]
    public enum systemuser_accessmode
    {
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        ReadWrite = 0,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Administrative = 1,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Read = 2,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        SupportUser = 3,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Noninteractive = 4,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        DelegatedAdmin = 5,
    }
     
    /// <summary>
    /// Type of address for address 1, such as billing, shipping, or primary address.
    /// </summary>
    [System.Runtime.Serialization.DataContractAttribute()]
    public enum systemuser_address1_addresstypecode
    {
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        DefaultValue = 1,
    }
     
    /// <summary>
    /// Method of shipment for address 1.
    /// </summary>
    [System.Runtime.Serialization.DataContractAttribute()]
    public enum systemuser_address1_shippingmethodcode
    {
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        DefaultValue = 1,
    }
     
    /// <summary>
    /// Type of address for address 2, such as billing, shipping, or primary address.
    /// </summary>
    [System.Runtime.Serialization.DataContractAttribute()]
    public enum systemuser_address2_addresstypecode
    {
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        DefaultValue = 1,
    }
     
    /// <summary>
    /// Method of shipment for address 2.
    /// </summary>
    [System.Runtime.Serialization.DataContractAttribute()]
    public enum systemuser_address2_shippingmethodcode
    {
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        DefaultValue = 1,
    }
     
    /// <summary>
    /// Azure state of user.
    /// </summary>
    [System.Runtime.Serialization.DataContractAttribute()]
    public enum systemuser_azurestate
    {
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Exists = 0,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Softdeleted = 1,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Notfoundorharddeleted = 2,
    }
     
    /// <summary>
    /// License type of user. This is used only in the on-premises version of the product. Online licenses are managed through Microsoft 365 Office Portal.
    /// </summary>
    [System.Runtime.Serialization.DataContractAttribute()]
    public enum systemuser_caltype
    {
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Professional = 0,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Administrative = 1,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Basic = 2,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        DeviceProfessional = 3,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        DeviceBasic = 4,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Essential = 5,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        DeviceEssential = 6,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Enterprise = 7,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        DeviceEnterprise = 8,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Sales = 9,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Service = 10,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        FieldService = 11,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        ProjectService = 12,
    }
     
    /// <summary>
    /// User delete state.
    /// </summary>
    [System.Runtime.Serialization.DataContractAttribute()]
    public enum systemuser_deletestate
    {
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Notdeleted = 0,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Softdeleted = 1,
    }
     
    /// <summary>
    /// Indicates the approval options for server-side synchronization or Email Router access.
    /// </summary>
    [System.Runtime.Serialization.DataContractAttribute()]
    public enum systemuser_emailrouteraccessapproval
    {
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Empty = 0,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Approved = 1,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        PendingApproval = 2,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Rejected = 3,
    }
     
    /// <summary>
    /// Incoming email delivery method for the user.
    /// </summary>
    [System.Runtime.Serialization.DataContractAttribute()]
    public enum systemuser_incomingemaildeliverymethod
    {
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        None = 0,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        MicrosoftDynamics365forOutlook = 1,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        ServerSideSynchronizationorEmailRouter = 2,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        ForwardMailbox = 3,
    }
     
    /// <summary>
    /// User invitation status.
    /// </summary>
    [System.Runtime.Serialization.DataContractAttribute()]
    public enum systemuser_invitestatuscode
    {
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        InvitationNotSent = 0,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Invited = 1,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        InvitationNearExpired = 2,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        InvitationExpired = 3,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        InvitationAccepted = 4,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        InvitationRejected = 5,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        InvitationRevoked = 6,
    }
     
    /// <summary>
    /// Outgoing email delivery method for the user.
    /// </summary>
    [System.Runtime.Serialization.DataContractAttribute()]
    public enum systemuser_outgoingemaildeliverymethod
    {
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        None = 0,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        MicrosoftDynamics365forOutlook = 1,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        ServerSideSynchronizationorEmailRouter = 2,
    }
     
    /// <summary>
    /// Preferred address for the user.
    /// </summary>
    [System.Runtime.Serialization.DataContractAttribute()]
    public enum systemuser_preferredaddresscode
    {
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        MailingAddress = 1,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        OtherAddress = 2,
    }
     
    /// <summary>
    /// Preferred email address for the user.
    /// </summary>
    [System.Runtime.Serialization.DataContractAttribute()]
    public enum systemuser_preferredemailcode
    {
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        DefaultValue = 1,
    }
     
    /// <summary>
    /// Preferred phone number for the user.
    /// </summary>
    [System.Runtime.Serialization.DataContractAttribute()]
    public enum systemuser_preferredphonecode
    {
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        MainPhone = 1,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        OtherPhone = 2,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        HomePhone = 3,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        MobilePhone = 4,
    }
     
    /// <summary>
    /// Person with access to the Microsoft CRM system and who owns objects in the Microsoft CRM database.
    /// </summary>
    [System.Runtime.Serialization.DataContractAttribute()]
    [Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("systemuser")]
    public partial class SystemUser : Microsoft.Xrm.Sdk.Entity
    {
         
        /// <summary>
        /// Available fields, a the time of codegen, for the systemuser entity
        /// </summary>
        public partial class Fields
        {
            public const string AccessMode = "accessmode";
            public const string Address1_AddressId = "address1_addressid";
            public const string Address1_AddressTypeCode = "address1_addresstypecode";
            public const string Address1_City = "address1_city";
            public const string Address1_Composite = "address1_composite";
            public const string Address1_Country = "address1_country";
            public const string Address1_County = "address1_county";
            public const string Address1_Fax = "address1_fax";
            public const string Address1_Latitude = "address1_latitude";
            public const string Address1_Line1 = "address1_line1";
            public const string Address1_Line2 = "address1_line2";
            public const string Address1_Line3 = "address1_line3";
            public const string Address1_Longitude = "address1_longitude";
            public const string Address1_Name = "address1_name";
            public const string Address1_PostalCode = "address1_postalcode";
            public const string Address1_PostOfficeBox = "address1_postofficebox";
            public const string Address1_ShippingMethodCode = "address1_shippingmethodcode";
            public const string Address1_StateOrProvince = "address1_stateorprovince";
            public const string Address1_Telephone1 = "address1_telephone1";
            public const string Address1_Telephone2 = "address1_telephone2";
            public const string Address1_Telephone3 = "address1_telephone3";
            public const string Address1_UPSZone = "address1_upszone";
            public const string Address1_UTCOffset = "address1_utcoffset";
            public const string Address2_AddressId = "address2_addressid";
            public const string Address2_AddressTypeCode = "address2_addresstypecode";
            public const string Address2_City = "address2_city";
            public const string Address2_Composite = "address2_composite";
            public const string Address2_Country = "address2_country";
            public const string Address2_County = "address2_county";
            public const string Address2_Fax = "address2_fax";
            public const string Address2_Latitude = "address2_latitude";
            public const string Address2_Line1 = "address2_line1";
            public const string Address2_Line2 = "address2_line2";
            public const string Address2_Line3 = "address2_line3";
            public const string Address2_Longitude = "address2_longitude";
            public const string Address2_Name = "address2_name";
            public const string Address2_PostalCode = "address2_postalcode";
            public const string Address2_PostOfficeBox = "address2_postofficebox";
            public const string Address2_ShippingMethodCode = "address2_shippingmethodcode";
            public const string Address2_StateOrProvince = "address2_stateorprovince";
            public const string Address2_Telephone1 = "address2_telephone1";
            public const string Address2_Telephone2 = "address2_telephone2";
            public const string Address2_Telephone3 = "address2_telephone3";
            public const string Address2_UPSZone = "address2_upszone";
            public const string Address2_UTCOffset = "address2_utcoffset";
            public const string ApplicationId = "applicationid";
            public const string ApplicationIdUri = "applicationiduri";
            public const string AzureActiveDirectoryObjectId = "azureactivedirectoryobjectid";
            public const string AzureDeletedOn = "azuredeletedon";
            public const string AzureState = "azurestate";
            public const string BusinessUnitId = "businessunitid";
            public const string CalendarId = "calendarid";
            public const string CALType = "caltype";
            public const string CreatedBy = "createdby";
            public const string CreatedOn = "createdon";
            public const string CreatedOnBehalfBy = "createdonbehalfby";
            public const string DefaultFiltersPopulated = "defaultfilterspopulated";
            public const string DefaultMailbox = "defaultmailbox";
            public const string DefaultOdbFolderName = "defaultodbfoldername";
            public const string DeletedState = "deletedstate";
            public const string DisabledReason = "disabledreason";
            public const string DisplayInServiceViews = "displayinserviceviews";
            public const string DomainName = "domainname";
            public const string EmailRouterAccessApproval = "emailrouteraccessapproval";
            public const string EmployeeId = "employeeid";
            public const string EntityImage = "entityimage";
            public const string EntityImage_Timestamp = "entityimage_timestamp";
            public const string EntityImage_URL = "entityimage_url";
            public const string EntityImageId = "entityimageid";
            public const string ExchangeRate = "exchangerate";
            public const string FirstName = "firstname";
            public const string FullName = "fullname";
            public const string GovernmentId = "governmentid";
            public const string HomePhone = "homephone";
            public const string IdentityId = "identityid";
            public const string ImportSequenceNumber = "importsequencenumber";
            public const string IncomingEmailDeliveryMethod = "incomingemaildeliverymethod";
            public const string InternalEMailAddress = "internalemailaddress";
            public const string InviteStatusCode = "invitestatuscode";
            public const string IsDisabled = "isdisabled";
            public const string IsEmailAddressApprovedByO365Admin = "isemailaddressapprovedbyo365admin";
            public const string IsIntegrationUser = "isintegrationuser";
            public const string IsLicensed = "islicensed";
            public const string IsSyncWithDirectory = "issyncwithdirectory";
            public const string JobTitle = "jobtitle";
            public const string LastName = "lastname";
            public const string MiddleName = "middlename";
            public const string MobileAlertEMail = "mobilealertemail";
            public const string MobileOfflineProfileId = "mobileofflineprofileid";
            public const string MobilePhone = "mobilephone";
            public const string ModifiedBy = "modifiedby";
            public const string ModifiedOn = "modifiedon";
            public const string ModifiedOnBehalfBy = "modifiedonbehalfby";
            public const string NickName = "nickname";
            public const string OrganizationId = "organizationid";
            public const string OutgoingEmailDeliveryMethod = "outgoingemaildeliverymethod";
            public const string OverriddenCreatedOn = "overriddencreatedon";
            public const string ParentSystemUserId = "parentsystemuserid";
            public const string PassportHi = "passporthi";
            public const string PassportLo = "passportlo";
            public const string PersonalEMailAddress = "personalemailaddress";
            public const string PhotoUrl = "photourl";
            public const string PositionId = "positionid";
            public const string PreferredAddressCode = "preferredaddresscode";
            public const string PreferredEmailCode = "preferredemailcode";
            public const string PreferredPhoneCode = "preferredphonecode";
            public const string ProcessId = "processid";
            public const string QueueId = "queueid";
            public const string Salutation = "salutation";
            public const string SetupUser = "setupuser";
            public const string SharePointEmailAddress = "sharepointemailaddress";
            public const string Skills = "skills";
            public const string StageId = "stageid";
            public const string SystemUserId = "systemuserid";
            public const string Id = "systemuserid";
            public const string tct_ExpenseApprover = "tct_expenseapprover";
            public const string TerritoryId = "territoryid";
            public const string TimeZoneRuleVersionNumber = "timezoneruleversionnumber";
            public const string Title = "title";
            public const string TransactionCurrencyId = "transactioncurrencyid";
            public const string TraversedPath = "traversedpath";
            public const string UserLicenseType = "userlicensetype";
            public const string UserPuid = "userpuid";
            public const string UTCConversionTimeZoneCode = "utcconversiontimezonecode";
            public const string VersionNumber = "versionnumber";
            public const string WindowsLiveID = "windowsliveid";
            public const string YammerEmailAddress = "yammeremailaddress";
            public const string YammerUserId = "yammeruserid";
            public const string YomiFirstName = "yomifirstname";
            public const string YomiFullName = "yomifullname";
            public const string YomiLastName = "yomilastname";
            public const string YomiMiddleName = "yomimiddlename";
            public const string lk_businessunit_createdonbehalfby = "lk_businessunit_createdonbehalfby";
            public const string lk_businessunit_modifiedonbehalfby = "lk_businessunit_modifiedonbehalfby";
            public const string lk_businessunitbase_createdby = "lk_businessunitbase_createdby";
            public const string lk_businessunitbase_modifiedby = "lk_businessunitbase_modifiedby";
            public const string lk_environmentvariabledefinition_createdby = "lk_environmentvariabledefinition_createdby";
            public const string lk_environmentvariabledefinition_createdonbehalfby = "lk_environmentvariabledefinition_createdonbehalfby";
            public const string lk_environmentvariabledefinition_modifiedby = "lk_environmentvariabledefinition_modifiedby";
            public const string lk_environmentvariabledefinition_modifiedonbehalfby = "lk_environmentvariabledefinition_modifiedonbehalfby";
            public const string lk_environmentvariablevalue_createdby = "lk_environmentvariablevalue_createdby";
            public const string lk_environmentvariablevalue_createdonbehalfby = "lk_environmentvariablevalue_createdonbehalfby";
            public const string lk_environmentvariablevalue_modifiedby = "lk_environmentvariablevalue_modifiedby";
            public const string lk_environmentvariablevalue_modifiedonbehalfby = "lk_environmentvariablevalue_modifiedonbehalfby";
            public const string Referencedlk_systemuser_createdonbehalfby = "Referencedlk_systemuser_createdonbehalfby";
            public const string Referencedlk_systemuser_modifiedonbehalfby = "Referencedlk_systemuser_modifiedonbehalfby";
            public const string Referencedlk_systemuserbase_createdby = "Referencedlk_systemuserbase_createdby";
            public const string Referencedlk_systemuserbase_modifiedby = "Referencedlk_systemuserbase_modifiedby";
            public const string lk_team_createdonbehalfby = "lk_team_createdonbehalfby";
            public const string lk_team_modifiedonbehalfby = "lk_team_modifiedonbehalfby";
            public const string lk_teambase_administratorid = "lk_teambase_administratorid";
            public const string lk_teambase_createdby = "lk_teambase_createdby";
            public const string lk_teambase_modifiedby = "lk_teambase_modifiedby";
            public const string Referencedtct_ExpenseApprover_SystemUser = "Referencedtct_ExpenseApprover_SystemUser";
            public const string user_environmentvariabledefinition = "user_environmentvariabledefinition";
            public const string user_environmentvariablevalue = "user_environmentvariablevalue";
            public const string Referenceduser_parent_user = "Referenceduser_parent_user";
            public const string teammembership_association = "teammembership_association";
            public const string business_unit_system_users = "business_unit_system_users";
            public const string Referencinglk_systemuser_createdonbehalfby = "lk_systemuser_createdonbehalfby";
            public const string Referencinglk_systemuser_modifiedonbehalfby = "lk_systemuser_modifiedonbehalfby";
            public const string Referencinglk_systemuserbase_createdby = "lk_systemuserbase_createdby";
            public const string Referencinglk_systemuserbase_modifiedby = "lk_systemuserbase_modifiedby";
            public const string Referencingtct_ExpenseApprover_SystemUser = "tct_ExpenseApprover_SystemUser";
            public const string Referencinguser_parent_user = "user_parent_user";
        }
         
        /// <summary>
        /// Default Constructor.
        /// </summary>
        public SystemUser() :
                base(EntityLogicalName)
        {
        }
         
        public const string EntityLogicalName = "systemuser";
         
        public const string EntityLogicalCollectionName = "systemusers";
         
        public const string EntitySetName = "systemusers";
         
        /// <summary>
        /// Type of user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("accessmode")]
        public virtual systemuser_accessmode? AccessMode
        {
            get
            {
                return ((systemuser_accessmode?)(EntityOptionSetEnum.GetEnum(this, "accessmode")));
            }
            set
            {
                this.SetAttributeValue("accessmode", value.HasValue ? new Microsoft.Xrm.Sdk.OptionSetValue((int)value) : null);
            }
        }
         
        /// <summary>
        /// Unique identifier for address 1.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_addressid")]
        public System.Nullable<System.Guid> Address1_AddressId
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<System.Guid>>("address1_addressid");
            }
            set
            {
                this.SetAttributeValue("address1_addressid", value);
            }
        }
         
        /// <summary>
        /// Type of address for address 1, such as billing, shipping, or primary address.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_addresstypecode")]
        public virtual systemuser_address1_addresstypecode? Address1_AddressTypeCode
        {
            get
            {
                return ((systemuser_address1_addresstypecode?)(EntityOptionSetEnum.GetEnum(this, "address1_addresstypecode")));
            }
            set
            {
                this.SetAttributeValue("address1_addresstypecode", value.HasValue ? new Microsoft.Xrm.Sdk.OptionSetValue((int)value) : null);
            }
        }
         
        /// <summary>
        /// City name for address 1.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_city")]
        public string Address1_City
        {
            get
            {
                return this.GetAttributeValue<string>("address1_city");
            }
            set
            {
                this.SetAttributeValue("address1_city", value);
            }
        }
         
        /// <summary>
        /// Shows the complete primary address.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_composite")]
        public string Address1_Composite
        {
            get
            {
                return this.GetAttributeValue<string>("address1_composite");
            }
        }
         
        /// <summary>
        /// Country/region name in address 1.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_country")]
        public string Address1_Country
        {
            get
            {
                return this.GetAttributeValue<string>("address1_country");
            }
            set
            {
                this.SetAttributeValue("address1_country", value);
            }
        }
         
        /// <summary>
        /// County name for address 1.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_county")]
        public string Address1_County
        {
            get
            {
                return this.GetAttributeValue<string>("address1_county");
            }
            set
            {
                this.SetAttributeValue("address1_county", value);
            }
        }
         
        /// <summary>
        /// Fax number for address 1.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_fax")]
        public string Address1_Fax
        {
            get
            {
                return this.GetAttributeValue<string>("address1_fax");
            }
            set
            {
                this.SetAttributeValue("address1_fax", value);
            }
        }
         
        /// <summary>
        /// Latitude for address 1.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_latitude")]
        public System.Nullable<double> Address1_Latitude
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<double>>("address1_latitude");
            }
            set
            {
                this.SetAttributeValue("address1_latitude", value);
            }
        }
         
        /// <summary>
        /// First line for entering address 1 information.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_line1")]
        public string Address1_Line1
        {
            get
            {
                return this.GetAttributeValue<string>("address1_line1");
            }
            set
            {
                this.SetAttributeValue("address1_line1", value);
            }
        }
         
        /// <summary>
        /// Second line for entering address 1 information.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_line2")]
        public string Address1_Line2
        {
            get
            {
                return this.GetAttributeValue<string>("address1_line2");
            }
            set
            {
                this.SetAttributeValue("address1_line2", value);
            }
        }
         
        /// <summary>
        /// Third line for entering address 1 information.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_line3")]
        public string Address1_Line3
        {
            get
            {
                return this.GetAttributeValue<string>("address1_line3");
            }
            set
            {
                this.SetAttributeValue("address1_line3", value);
            }
        }
         
        /// <summary>
        /// Longitude for address 1.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_longitude")]
        public System.Nullable<double> Address1_Longitude
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<double>>("address1_longitude");
            }
            set
            {
                this.SetAttributeValue("address1_longitude", value);
            }
        }
         
        /// <summary>
        /// Name to enter for address 1.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_name")]
        public string Address1_Name
        {
            get
            {
                return this.GetAttributeValue<string>("address1_name");
            }
            set
            {
                this.SetAttributeValue("address1_name", value);
            }
        }
         
        /// <summary>
        /// ZIP Code or postal code for address 1.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_postalcode")]
        public string Address1_PostalCode
        {
            get
            {
                return this.GetAttributeValue<string>("address1_postalcode");
            }
            set
            {
                this.SetAttributeValue("address1_postalcode", value);
            }
        }
         
        /// <summary>
        /// Post office box number for address 1.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_postofficebox")]
        public string Address1_PostOfficeBox
        {
            get
            {
                return this.GetAttributeValue<string>("address1_postofficebox");
            }
            set
            {
                this.SetAttributeValue("address1_postofficebox", value);
            }
        }
         
        /// <summary>
        /// Method of shipment for address 1.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_shippingmethodcode")]
        public virtual systemuser_address1_shippingmethodcode? Address1_ShippingMethodCode
        {
            get
            {
                return ((systemuser_address1_shippingmethodcode?)(EntityOptionSetEnum.GetEnum(this, "address1_shippingmethodcode")));
            }
            set
            {
                this.SetAttributeValue("address1_shippingmethodcode", value.HasValue ? new Microsoft.Xrm.Sdk.OptionSetValue((int)value) : null);
            }
        }
         
        /// <summary>
        /// State or province for address 1.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_stateorprovince")]
        public string Address1_StateOrProvince
        {
            get
            {
                return this.GetAttributeValue<string>("address1_stateorprovince");
            }
            set
            {
                this.SetAttributeValue("address1_stateorprovince", value);
            }
        }
         
        /// <summary>
        /// First telephone number associated with address 1.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_telephone1")]
        public string Address1_Telephone1
        {
            get
            {
                return this.GetAttributeValue<string>("address1_telephone1");
            }
            set
            {
                this.SetAttributeValue("address1_telephone1", value);
            }
        }
         
        /// <summary>
        /// Second telephone number associated with address 1.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_telephone2")]
        public string Address1_Telephone2
        {
            get
            {
                return this.GetAttributeValue<string>("address1_telephone2");
            }
            set
            {
                this.SetAttributeValue("address1_telephone2", value);
            }
        }
         
        /// <summary>
        /// Third telephone number associated with address 1.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_telephone3")]
        public string Address1_Telephone3
        {
            get
            {
                return this.GetAttributeValue<string>("address1_telephone3");
            }
            set
            {
                this.SetAttributeValue("address1_telephone3", value);
            }
        }
         
        /// <summary>
        /// United Parcel Service (UPS) zone for address 1.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_upszone")]
        public string Address1_UPSZone
        {
            get
            {
                return this.GetAttributeValue<string>("address1_upszone");
            }
            set
            {
                this.SetAttributeValue("address1_upszone", value);
            }
        }
         
        /// <summary>
        /// UTC offset for address 1. This is the difference between local time and standard Coordinated Universal Time.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_utcoffset")]
        public System.Nullable<int> Address1_UTCOffset
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<int>>("address1_utcoffset");
            }
            set
            {
                this.SetAttributeValue("address1_utcoffset", value);
            }
        }
         
        /// <summary>
        /// Unique identifier for address 2.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_addressid")]
        public System.Nullable<System.Guid> Address2_AddressId
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<System.Guid>>("address2_addressid");
            }
            set
            {
                this.SetAttributeValue("address2_addressid", value);
            }
        }
         
        /// <summary>
        /// Type of address for address 2, such as billing, shipping, or primary address.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_addresstypecode")]
        public virtual systemuser_address2_addresstypecode? Address2_AddressTypeCode
        {
            get
            {
                return ((systemuser_address2_addresstypecode?)(EntityOptionSetEnum.GetEnum(this, "address2_addresstypecode")));
            }
            set
            {
                this.SetAttributeValue("address2_addresstypecode", value.HasValue ? new Microsoft.Xrm.Sdk.OptionSetValue((int)value) : null);
            }
        }
         
        /// <summary>
        /// City name for address 2.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_city")]
        public string Address2_City
        {
            get
            {
                return this.GetAttributeValue<string>("address2_city");
            }
            set
            {
                this.SetAttributeValue("address2_city", value);
            }
        }
         
        /// <summary>
        /// Shows the complete secondary address.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_composite")]
        public string Address2_Composite
        {
            get
            {
                return this.GetAttributeValue<string>("address2_composite");
            }
        }
         
        /// <summary>
        /// Country/region name in address 2.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_country")]
        public string Address2_Country
        {
            get
            {
                return this.GetAttributeValue<string>("address2_country");
            }
            set
            {
                this.SetAttributeValue("address2_country", value);
            }
        }
         
        /// <summary>
        /// County name for address 2.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_county")]
        public string Address2_County
        {
            get
            {
                return this.GetAttributeValue<string>("address2_county");
            }
            set
            {
                this.SetAttributeValue("address2_county", value);
            }
        }
         
        /// <summary>
        /// Fax number for address 2.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_fax")]
        public string Address2_Fax
        {
            get
            {
                return this.GetAttributeValue<string>("address2_fax");
            }
            set
            {
                this.SetAttributeValue("address2_fax", value);
            }
        }
         
        /// <summary>
        /// Latitude for address 2.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_latitude")]
        public System.Nullable<double> Address2_Latitude
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<double>>("address2_latitude");
            }
            set
            {
                this.SetAttributeValue("address2_latitude", value);
            }
        }
         
        /// <summary>
        /// First line for entering address 2 information.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_line1")]
        public string Address2_Line1
        {
            get
            {
                return this.GetAttributeValue<string>("address2_line1");
            }
            set
            {
                this.SetAttributeValue("address2_line1", value);
            }
        }
         
        /// <summary>
        /// Second line for entering address 2 information.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_line2")]
        public string Address2_Line2
        {
            get
            {
                return this.GetAttributeValue<string>("address2_line2");
            }
            set
            {
                this.SetAttributeValue("address2_line2", value);
            }
        }
         
        /// <summary>
        /// Third line for entering address 2 information.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_line3")]
        public string Address2_Line3
        {
            get
            {
                return this.GetAttributeValue<string>("address2_line3");
            }
            set
            {
                this.SetAttributeValue("address2_line3", value);
            }
        }
         
        /// <summary>
        /// Longitude for address 2.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_longitude")]
        public System.Nullable<double> Address2_Longitude
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<double>>("address2_longitude");
            }
            set
            {
                this.SetAttributeValue("address2_longitude", value);
            }
        }
         
        /// <summary>
        /// Name to enter for address 2.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_name")]
        public string Address2_Name
        {
            get
            {
                return this.GetAttributeValue<string>("address2_name");
            }
            set
            {
                this.SetAttributeValue("address2_name", value);
            }
        }
         
        /// <summary>
        /// ZIP Code or postal code for address 2.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_postalcode")]
        public string Address2_PostalCode
        {
            get
            {
                return this.GetAttributeValue<string>("address2_postalcode");
            }
            set
            {
                this.SetAttributeValue("address2_postalcode", value);
            }
        }
         
        /// <summary>
        /// Post office box number for address 2.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_postofficebox")]
        public string Address2_PostOfficeBox
        {
            get
            {
                return this.GetAttributeValue<string>("address2_postofficebox");
            }
            set
            {
                this.SetAttributeValue("address2_postofficebox", value);
            }
        }
         
        /// <summary>
        /// Method of shipment for address 2.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_shippingmethodcode")]
        public virtual systemuser_address2_shippingmethodcode? Address2_ShippingMethodCode
        {
            get
            {
                return ((systemuser_address2_shippingmethodcode?)(EntityOptionSetEnum.GetEnum(this, "address2_shippingmethodcode")));
            }
            set
            {
                this.SetAttributeValue("address2_shippingmethodcode", value.HasValue ? new Microsoft.Xrm.Sdk.OptionSetValue((int)value) : null);
            }
        }
         
        /// <summary>
        /// State or province for address 2.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_stateorprovince")]
        public string Address2_StateOrProvince
        {
            get
            {
                return this.GetAttributeValue<string>("address2_stateorprovince");
            }
            set
            {
                this.SetAttributeValue("address2_stateorprovince", value);
            }
        }
         
        /// <summary>
        /// First telephone number associated with address 2.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_telephone1")]
        public string Address2_Telephone1
        {
            get
            {
                return this.GetAttributeValue<string>("address2_telephone1");
            }
            set
            {
                this.SetAttributeValue("address2_telephone1", value);
            }
        }
         
        /// <summary>
        /// Second telephone number associated with address 2.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_telephone2")]
        public string Address2_Telephone2
        {
            get
            {
                return this.GetAttributeValue<string>("address2_telephone2");
            }
            set
            {
                this.SetAttributeValue("address2_telephone2", value);
            }
        }
         
        /// <summary>
        /// Third telephone number associated with address 2.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_telephone3")]
        public string Address2_Telephone3
        {
            get
            {
                return this.GetAttributeValue<string>("address2_telephone3");
            }
            set
            {
                this.SetAttributeValue("address2_telephone3", value);
            }
        }
         
        /// <summary>
        /// United Parcel Service (UPS) zone for address 2.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_upszone")]
        public string Address2_UPSZone
        {
            get
            {
                return this.GetAttributeValue<string>("address2_upszone");
            }
            set
            {
                this.SetAttributeValue("address2_upszone", value);
            }
        }
         
        /// <summary>
        /// UTC offset for address 2. This is the difference between local time and standard Coordinated Universal Time.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_utcoffset")]
        public System.Nullable<int> Address2_UTCOffset
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<int>>("address2_utcoffset");
            }
            set
            {
                this.SetAttributeValue("address2_utcoffset", value);
            }
        }
         
        /// <summary>
        /// The identifier for the application. This is used to access data in another application.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("applicationid")]
        public System.Nullable<System.Guid> ApplicationId
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<System.Guid>>("applicationid");
            }
            set
            {
                this.SetAttributeValue("applicationid", value);
            }
        }
         
        /// <summary>
        /// The URI used as a unique logical identifier for the external app. This can be used to validate the application.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("applicationiduri")]
        public string ApplicationIdUri
        {
            get
            {
                return this.GetAttributeValue<string>("applicationiduri");
            }
        }
         
        /// <summary>
        /// This is the application directory object Id.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("azureactivedirectoryobjectid")]
        public System.Nullable<System.Guid> AzureActiveDirectoryObjectId
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<System.Guid>>("azureactivedirectoryobjectid");
            }
        }
         
        /// <summary>
        /// Date and time when the user was set as soft deleted in Azure.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("azuredeletedon")]
        public System.Nullable<System.DateTime> AzureDeletedOn
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<System.DateTime>>("azuredeletedon");
            }
        }
         
        /// <summary>
        /// Azure state of user
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("azurestate")]
        public virtual systemuser_azurestate? AzureState
        {
            get
            {
                return ((systemuser_azurestate?)(EntityOptionSetEnum.GetEnum(this, "azurestate")));
            }
            set
            {
                this.SetAttributeValue("azurestate", value.HasValue ? new Microsoft.Xrm.Sdk.OptionSetValue((int)value) : null);
            }
        }
         
        /// <summary>
        /// Unique identifier of the business unit with which the user is associated.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
        public Microsoft.Xrm.Sdk.EntityReference BusinessUnitId
        {
            get
            {
                return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("businessunitid");
            }
            set
            {
                this.SetAttributeValue("businessunitid", value);
            }
        }
         
        /// <summary>
        /// Fiscal calendar associated with the user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("calendarid")]
        public Microsoft.Xrm.Sdk.EntityReference CalendarId
        {
            get
            {
                return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("calendarid");
            }
            set
            {
                this.SetAttributeValue("calendarid", value);
            }
        }
         
        /// <summary>
        /// License type of user. This is used only in the on-premises version of the product. Online licenses are managed through Microsoft 365 Office Portal
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("caltype")]
        public virtual systemuser_caltype? CALType
        {
            get
            {
                return ((systemuser_caltype?)(EntityOptionSetEnum.GetEnum(this, "caltype")));
            }
            set
            {
                this.SetAttributeValue("caltype", value.HasValue ? new Microsoft.Xrm.Sdk.OptionSetValue((int)value) : null);
            }
        }
         
        /// <summary>
        /// Unique identifier of the user who created the user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
        public Microsoft.Xrm.Sdk.EntityReference CreatedBy
        {
            get
            {
                return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
            }
        }
         
        /// <summary>
        /// Date and time when the user was created.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
        public System.Nullable<System.DateTime> CreatedOn
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
            }
        }
         
        /// <summary>
        /// Unique identifier of the delegate user who created the systemuser.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
        public Microsoft.Xrm.Sdk.EntityReference CreatedOnBehalfBy
        {
            get
            {
                return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
            }
        }
         
        /// <summary>
        /// Indicates if default outlook filters have been populated.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("defaultfilterspopulated")]
        public System.Nullable<bool> DefaultFiltersPopulated
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<bool>>("defaultfilterspopulated");
            }
        }
         
        /// <summary>
        /// Select the mailbox associated with this user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("defaultmailbox")]
        public Microsoft.Xrm.Sdk.EntityReference DefaultMailbox
        {
            get
            {
                return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("defaultmailbox");
            }
        }
         
        /// <summary>
        /// Type a default folder name for the user's OneDrive For Business location.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("defaultodbfoldername")]
        public string DefaultOdbFolderName
        {
            get
            {
                return this.GetAttributeValue<string>("defaultodbfoldername");
            }
        }
         
        /// <summary>
        /// User delete state
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("deletedstate")]
        public virtual systemuser_deletestate? DeletedState
        {
            get
            {
                return ((systemuser_deletestate?)(EntityOptionSetEnum.GetEnum(this, "deletedstate")));
            }
        }
         
        /// <summary>
        /// Reason for disabling the user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("disabledreason")]
        public string DisabledReason
        {
            get
            {
                return this.GetAttributeValue<string>("disabledreason");
            }
        }
         
        /// <summary>
        /// Whether to display the user in service views.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("displayinserviceviews")]
        public System.Nullable<bool> DisplayInServiceViews
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<bool>>("displayinserviceviews");
            }
            set
            {
                this.SetAttributeValue("displayinserviceviews", value);
            }
        }
         
        /// <summary>
        /// Active Directory domain of which the user is a member.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("domainname")]
        public string DomainName
        {
            get
            {
                return this.GetAttributeValue<string>("domainname");
            }
            set
            {
                this.SetAttributeValue("domainname", value);
            }
        }
         
        /// <summary>
        /// Shows the status of the primary email address.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("emailrouteraccessapproval")]
        public virtual systemuser_emailrouteraccessapproval? EmailRouterAccessApproval
        {
            get
            {
                return ((systemuser_emailrouteraccessapproval?)(EntityOptionSetEnum.GetEnum(this, "emailrouteraccessapproval")));
            }
            set
            {
                this.SetAttributeValue("emailrouteraccessapproval", value.HasValue ? new Microsoft.Xrm.Sdk.OptionSetValue((int)value) : null);
            }
        }
         
        /// <summary>
        /// Employee identifier for the user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("employeeid")]
        public string EmployeeId
        {
            get
            {
                return this.GetAttributeValue<string>("employeeid");
            }
            set
            {
                this.SetAttributeValue("employeeid", value);
            }
        }
         
        /// <summary>
        /// Shows the default image for the record.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("entityimage")]
        public byte[] EntityImage
        {
            get
            {
                return this.GetAttributeValue<byte[]>("entityimage");
            }
            set
            {
                this.SetAttributeValue("entityimage", value);
            }
        }
         
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("entityimage_timestamp")]
        public System.Nullable<long> EntityImage_Timestamp
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<long>>("entityimage_timestamp");
            }
        }
         
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("entityimage_url")]
        public string EntityImage_URL
        {
            get
            {
                return this.GetAttributeValue<string>("entityimage_url");
            }
        }
         
        /// <summary>
        /// For internal use only.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("entityimageid")]
        public System.Nullable<System.Guid> EntityImageId
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<System.Guid>>("entityimageid");
            }
        }
         
        /// <summary>
        /// Exchange rate for the currency associated with the systemuser with respect to the base currency.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
        public System.Nullable<decimal> ExchangeRate
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
            }
        }
         
        /// <summary>
        /// First name of the user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("firstname")]
        public string FirstName
        {
            get
            {
                return this.GetAttributeValue<string>("firstname");
            }
            set
            {
                this.SetAttributeValue("firstname", value);
            }
        }
         
        /// <summary>
        /// Full name of the user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fullname")]
        public string FullName
        {
            get
            {
                return this.GetAttributeValue<string>("fullname");
            }
        }
         
        /// <summary>
        /// Government identifier for the user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("governmentid")]
        public string GovernmentId
        {
            get
            {
                return this.GetAttributeValue<string>("governmentid");
            }
            set
            {
                this.SetAttributeValue("governmentid", value);
            }
        }
         
        /// <summary>
        /// Home phone number for the user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("homephone")]
        public string HomePhone
        {
            get
            {
                return this.GetAttributeValue<string>("homephone");
            }
            set
            {
                this.SetAttributeValue("homephone", value);
            }
        }
         
        /// <summary>
        /// For internal use only.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("identityid")]
        public System.Nullable<int> IdentityId
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<int>>("identityid");
            }
        }
         
        /// <summary>
        /// Unique identifier of the data import or data migration that created this record.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
        public System.Nullable<int> ImportSequenceNumber
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
            }
            set
            {
                this.SetAttributeValue("importsequencenumber", value);
            }
        }
         
        /// <summary>
        /// Incoming email delivery method for the user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("incomingemaildeliverymethod")]
        public virtual systemuser_incomingemaildeliverymethod? IncomingEmailDeliveryMethod
        {
            get
            {
                return ((systemuser_incomingemaildeliverymethod?)(EntityOptionSetEnum.GetEnum(this, "incomingemaildeliverymethod")));
            }
            set
            {
                this.SetAttributeValue("incomingemaildeliverymethod", value.HasValue ? new Microsoft.Xrm.Sdk.OptionSetValue((int)value) : null);
            }
        }
         
        /// <summary>
        /// Internal email address for the user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("internalemailaddress")]
        public string InternalEMailAddress
        {
            get
            {
                return this.GetAttributeValue<string>("internalemailaddress");
            }
            set
            {
                this.SetAttributeValue("internalemailaddress", value);
            }
        }
         
        /// <summary>
        /// User invitation status.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("invitestatuscode")]
        public virtual systemuser_invitestatuscode? InviteStatusCode
        {
            get
            {
                return ((systemuser_invitestatuscode?)(EntityOptionSetEnum.GetEnum(this, "invitestatuscode")));
            }
            set
            {
                this.SetAttributeValue("invitestatuscode", value.HasValue ? new Microsoft.Xrm.Sdk.OptionSetValue((int)value) : null);
            }
        }
         
        /// <summary>
        /// Information about whether the user is enabled.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isdisabled")]
        public System.Nullable<bool> IsDisabled
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<bool>>("isdisabled");
            }
            set
            {
                this.SetAttributeValue("isdisabled", value);
            }
        }
         
        /// <summary>
        /// Shows the status of approval of the email address by O365 Admin.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isemailaddressapprovedbyo365admin")]
        public System.Nullable<bool> IsEmailAddressApprovedByO365Admin
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<bool>>("isemailaddressapprovedbyo365admin");
            }
        }
         
        /// <summary>
        /// Check if user is an integration user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isintegrationuser")]
        public System.Nullable<bool> IsIntegrationUser
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<bool>>("isintegrationuser");
            }
            set
            {
                this.SetAttributeValue("isintegrationuser", value);
            }
        }
         
        /// <summary>
        /// Information about whether the user is licensed.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("islicensed")]
        public System.Nullable<bool> IsLicensed
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<bool>>("islicensed");
            }
            set
            {
                this.SetAttributeValue("islicensed", value);
            }
        }
         
        /// <summary>
        /// Information about whether the user is synced with the directory.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("issyncwithdirectory")]
        public System.Nullable<bool> IsSyncWithDirectory
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<bool>>("issyncwithdirectory");
            }
            set
            {
                this.SetAttributeValue("issyncwithdirectory", value);
            }
        }
         
        /// <summary>
        /// Job title of the user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("jobtitle")]
        public string JobTitle
        {
            get
            {
                return this.GetAttributeValue<string>("jobtitle");
            }
            set
            {
                this.SetAttributeValue("jobtitle", value);
            }
        }
         
        /// <summary>
        /// Last name of the user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("lastname")]
        public string LastName
        {
            get
            {
                return this.GetAttributeValue<string>("lastname");
            }
            set
            {
                this.SetAttributeValue("lastname", value);
            }
        }
         
        /// <summary>
        /// Middle name of the user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("middlename")]
        public string MiddleName
        {
            get
            {
                return this.GetAttributeValue<string>("middlename");
            }
            set
            {
                this.SetAttributeValue("middlename", value);
            }
        }
         
        /// <summary>
        /// Mobile alert email address for the user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("mobilealertemail")]
        public string MobileAlertEMail
        {
            get
            {
                return this.GetAttributeValue<string>("mobilealertemail");
            }
            set
            {
                this.SetAttributeValue("mobilealertemail", value);
            }
        }
         
        /// <summary>
        /// Items contained with a particular SystemUser.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("mobileofflineprofileid")]
        public Microsoft.Xrm.Sdk.EntityReference MobileOfflineProfileId
        {
            get
            {
                return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("mobileofflineprofileid");
            }
            set
            {
                this.SetAttributeValue("mobileofflineprofileid", value);
            }
        }
         
        /// <summary>
        /// Mobile phone number for the user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("mobilephone")]
        public string MobilePhone
        {
            get
            {
                return this.GetAttributeValue<string>("mobilephone");
            }
            set
            {
                this.SetAttributeValue("mobilephone", value);
            }
        }
         
        /// <summary>
        /// Unique identifier of the user who last modified the user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
        public Microsoft.Xrm.Sdk.EntityReference ModifiedBy
        {
            get
            {
                return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
            }
        }
         
        /// <summary>
        /// Date and time when the user was last modified.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
        public System.Nullable<System.DateTime> ModifiedOn
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
            }
        }
         
        /// <summary>
        /// Unique identifier of the delegate user who last modified the systemuser.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
        public Microsoft.Xrm.Sdk.EntityReference ModifiedOnBehalfBy
        {
            get
            {
                return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
            }
        }
         
        /// <summary>
        /// Nickname of the user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("nickname")]
        public string NickName
        {
            get
            {
                return this.GetAttributeValue<string>("nickname");
            }
            set
            {
                this.SetAttributeValue("nickname", value);
            }
        }
         
        /// <summary>
        /// Unique identifier of the organization associated with the user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
        public System.Nullable<System.Guid> OrganizationId
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<System.Guid>>("organizationid");
            }
        }
         
        /// <summary>
        /// Outgoing email delivery method for the user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("outgoingemaildeliverymethod")]
        public virtual systemuser_outgoingemaildeliverymethod? OutgoingEmailDeliveryMethod
        {
            get
            {
                return ((systemuser_outgoingemaildeliverymethod?)(EntityOptionSetEnum.GetEnum(this, "outgoingemaildeliverymethod")));
            }
            set
            {
                this.SetAttributeValue("outgoingemaildeliverymethod", value.HasValue ? new Microsoft.Xrm.Sdk.OptionSetValue((int)value) : null);
            }
        }
         
        /// <summary>
        /// Date and time that the record was migrated.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
        public System.Nullable<System.DateTime> OverriddenCreatedOn
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
            }
            set
            {
                this.SetAttributeValue("overriddencreatedon", value);
            }
        }
         
        /// <summary>
        /// Unique identifier of the manager of the user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentsystemuserid")]
        public Microsoft.Xrm.Sdk.EntityReference ParentSystemUserId
        {
            get
            {
                return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("parentsystemuserid");
            }
            set
            {
                this.SetAttributeValue("parentsystemuserid", value);
            }
        }
         
        /// <summary>
        /// For internal use only.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("passporthi")]
        public System.Nullable<int> PassportHi
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<int>>("passporthi");
            }
            set
            {
                this.SetAttributeValue("passporthi", value);
            }
        }
         
        /// <summary>
        /// For internal use only.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("passportlo")]
        public System.Nullable<int> PassportLo
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<int>>("passportlo");
            }
            set
            {
                this.SetAttributeValue("passportlo", value);
            }
        }
         
        /// <summary>
        /// Personal email address of the user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("personalemailaddress")]
        public string PersonalEMailAddress
        {
            get
            {
                return this.GetAttributeValue<string>("personalemailaddress");
            }
            set
            {
                this.SetAttributeValue("personalemailaddress", value);
            }
        }
         
        /// <summary>
        /// URL for the Website on which a photo of the user is located.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("photourl")]
        public string PhotoUrl
        {
            get
            {
                return this.GetAttributeValue<string>("photourl");
            }
            set
            {
                this.SetAttributeValue("photourl", value);
            }
        }
         
        /// <summary>
        /// User's position in hierarchical security model.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("positionid")]
        public Microsoft.Xrm.Sdk.EntityReference PositionId
        {
            get
            {
                return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("positionid");
            }
            set
            {
                this.SetAttributeValue("positionid", value);
            }
        }
         
        /// <summary>
        /// Preferred address for the user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("preferredaddresscode")]
        public virtual systemuser_preferredaddresscode? PreferredAddressCode
        {
            get
            {
                return ((systemuser_preferredaddresscode?)(EntityOptionSetEnum.GetEnum(this, "preferredaddresscode")));
            }
            set
            {
                this.SetAttributeValue("preferredaddresscode", value.HasValue ? new Microsoft.Xrm.Sdk.OptionSetValue((int)value) : null);
            }
        }
         
        /// <summary>
        /// Preferred email address for the user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("preferredemailcode")]
        public virtual systemuser_preferredemailcode? PreferredEmailCode
        {
            get
            {
                return ((systemuser_preferredemailcode?)(EntityOptionSetEnum.GetEnum(this, "preferredemailcode")));
            }
            set
            {
                this.SetAttributeValue("preferredemailcode", value.HasValue ? new Microsoft.Xrm.Sdk.OptionSetValue((int)value) : null);
            }
        }
         
        /// <summary>
        /// Preferred phone number for the user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("preferredphonecode")]
        public virtual systemuser_preferredphonecode? PreferredPhoneCode
        {
            get
            {
                return ((systemuser_preferredphonecode?)(EntityOptionSetEnum.GetEnum(this, "preferredphonecode")));
            }
            set
            {
                this.SetAttributeValue("preferredphonecode", value.HasValue ? new Microsoft.Xrm.Sdk.OptionSetValue((int)value) : null);
            }
        }
         
        /// <summary>
        /// Shows the ID of the process.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("processid")]
        public System.Nullable<System.Guid> ProcessId
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<System.Guid>>("processid");
            }
            set
            {
                this.SetAttributeValue("processid", value);
            }
        }
         
        /// <summary>
        /// Unique identifier of the default queue for the user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("queueid")]
        public Microsoft.Xrm.Sdk.EntityReference QueueId
        {
            get
            {
                return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("queueid");
            }
            set
            {
                this.SetAttributeValue("queueid", value);
            }
        }
         
        /// <summary>
        /// Salutation for correspondence with the user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salutation")]
        public string Salutation
        {
            get
            {
                return this.GetAttributeValue<string>("salutation");
            }
            set
            {
                this.SetAttributeValue("salutation", value);
            }
        }
         
        /// <summary>
        /// Check if user is a setup user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("setupuser")]
        public System.Nullable<bool> SetupUser
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<bool>>("setupuser");
            }
            set
            {
                this.SetAttributeValue("setupuser", value);
            }
        }
         
        /// <summary>
        /// SharePoint Work Email Address
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sharepointemailaddress")]
        public string SharePointEmailAddress
        {
            get
            {
                return this.GetAttributeValue<string>("sharepointemailaddress");
            }
            set
            {
                this.SetAttributeValue("sharepointemailaddress", value);
            }
        }
         
        /// <summary>
        /// Skill set of the user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("skills")]
        public string Skills
        {
            get
            {
                return this.GetAttributeValue<string>("skills");
            }
            set
            {
                this.SetAttributeValue("skills", value);
            }
        }
         
        /// <summary>
        /// Shows the ID of the stage.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("stageid")]
        public System.Nullable<System.Guid> StageId
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<System.Guid>>("stageid");
            }
            set
            {
                this.SetAttributeValue("stageid", value);
            }
        }
         
        /// <summary>
        /// Unique identifier for the user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("systemuserid")]
        public System.Nullable<System.Guid> SystemUserId
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<System.Guid>>("systemuserid");
            }
            set
            {
                this.SetAttributeValue("systemuserid", value);
                if (value.HasValue)
                {
                    base.Id = value.Value;
                }
                else
                {
                    base.Id = System.Guid.Empty;
                }
            }
        }
         
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("systemuserid")]
        public override System.Guid Id
        {
            get
            {
                return base.Id;
            }
            set
            {
                this.SystemUserId = value;
            }
        }
         
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("tct_expenseapprover")]
        public Microsoft.Xrm.Sdk.EntityReference tct_ExpenseApprover
        {
            get
            {
                return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("tct_expenseapprover");
            }
            set
            {
                this.SetAttributeValue("tct_expenseapprover", value);
            }
        }
         
        /// <summary>
        /// Unique identifier of the territory to which the user is assigned.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("territoryid")]
        public Microsoft.Xrm.Sdk.EntityReference TerritoryId
        {
            get
            {
                return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("territoryid");
            }
            set
            {
                this.SetAttributeValue("territoryid", value);
            }
        }
         
        /// <summary>
        /// For internal use only.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
        public System.Nullable<int> TimeZoneRuleVersionNumber
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
            }
            set
            {
                this.SetAttributeValue("timezoneruleversionnumber", value);
            }
        }
         
        /// <summary>
        /// Title of the user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("title")]
        public string Title
        {
            get
            {
                return this.GetAttributeValue<string>("title");
            }
            set
            {
                this.SetAttributeValue("title", value);
            }
        }
         
        /// <summary>
        /// Unique identifier of the currency associated with the systemuser.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
        public Microsoft.Xrm.Sdk.EntityReference TransactionCurrencyId
        {
            get
            {
                return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
            }
            set
            {
                this.SetAttributeValue("transactioncurrencyid", value);
            }
        }
         
        /// <summary>
        /// For internal use only.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("traversedpath")]
        public string TraversedPath
        {
            get
            {
                return this.GetAttributeValue<string>("traversedpath");
            }
            set
            {
                this.SetAttributeValue("traversedpath", value);
            }
        }
         
        /// <summary>
        /// Shows the type of user license.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("userlicensetype")]
        public System.Nullable<int> UserLicenseType
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<int>>("userlicensetype");
            }
            set
            {
                this.SetAttributeValue("userlicensetype", value);
            }
        }
         
        /// <summary>
        /// User PUID User Identifiable Information
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("userpuid")]
        public string UserPuid
        {
            get
            {
                return this.GetAttributeValue<string>("userpuid");
            }
        }
         
        /// <summary>
        /// Time zone code that was in use when the record was created.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
        public System.Nullable<int> UTCConversionTimeZoneCode
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
            }
            set
            {
                this.SetAttributeValue("utcconversiontimezonecode", value);
            }
        }
         
        /// <summary>
        /// Version number of the user.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
        public System.Nullable<long> VersionNumber
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
            }
        }
         
        /// <summary>
        /// Windows Live ID
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("windowsliveid")]
        public string WindowsLiveID
        {
            get
            {
                return this.GetAttributeValue<string>("windowsliveid");
            }
            set
            {
                this.SetAttributeValue("windowsliveid", value);
            }
        }
         
        /// <summary>
        /// User's Yammer login email address
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("yammeremailaddress")]
        public string YammerEmailAddress
        {
            get
            {
                return this.GetAttributeValue<string>("yammeremailaddress");
            }
            set
            {
                this.SetAttributeValue("yammeremailaddress", value);
            }
        }
         
        /// <summary>
        /// User's Yammer ID
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("yammeruserid")]
        public string YammerUserId
        {
            get
            {
                return this.GetAttributeValue<string>("yammeruserid");
            }
            set
            {
                this.SetAttributeValue("yammeruserid", value);
            }
        }
         
        /// <summary>
        /// Pronunciation of the first name of the user, written in phonetic hiragana or katakana characters.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("yomifirstname")]
        public string YomiFirstName
        {
            get
            {
                return this.GetAttributeValue<string>("yomifirstname");
            }
            set
            {
                this.SetAttributeValue("yomifirstname", value);
            }
        }
         
        /// <summary>
        /// Pronunciation of the full name of the user, written in phonetic hiragana or katakana characters.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("yomifullname")]
        public string YomiFullName
        {
            get
            {
                return this.GetAttributeValue<string>("yomifullname");
            }
        }
         
        /// <summary>
        /// Pronunciation of the last name of the user, written in phonetic hiragana or katakana characters.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("yomilastname")]
        public string YomiLastName
        {
            get
            {
                return this.GetAttributeValue<string>("yomilastname");
            }
            set
            {
                this.SetAttributeValue("yomilastname", value);
            }
        }
         
        /// <summary>
        /// Pronunciation of the middle name of the user, written in phonetic hiragana or katakana characters.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("yomimiddlename")]
        public string YomiMiddleName
        {
            get
            {
                return this.GetAttributeValue<string>("yomimiddlename");
            }
            set
            {
                this.SetAttributeValue("yomimiddlename", value);
            }
        }
         
        /// <summary>
        /// 1:N lk_businessunit_createdonbehalfby
        /// </summary>
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_businessunit_createdonbehalfby")]
        public System.Collections.Generic.IEnumerable<ModelBuilder.BusinessUnit> lk_businessunit_createdonbehalfby
        {
            get
            {
                return this.GetRelatedEntities<ModelBuilder.BusinessUnit>("lk_businessunit_createdonbehalfby", null);
            }
            set
            {
                this.SetRelatedEntities<ModelBuilder.BusinessUnit>("lk_businessunit_createdonbehalfby", null, value);
            }
        }
         
        /// <summary>
        /// 1:N lk_businessunit_modifiedonbehalfby
        /// </summary>
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_businessunit_modifiedonbehalfby")]
        public System.Collections.Generic.IEnumerable<ModelBuilder.BusinessUnit> lk_businessunit_modifiedonbehalfby
        {
            get
            {
                return this.GetRelatedEntities<ModelBuilder.BusinessUnit>("lk_businessunit_modifiedonbehalfby", null);
            }
            set
            {
                this.SetRelatedEntities<ModelBuilder.BusinessUnit>("lk_businessunit_modifiedonbehalfby", null, value);
            }
        }
         
        /// <summary>
        /// 1:N lk_businessunitbase_createdby
        /// </summary>
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_businessunitbase_createdby")]
        public System.Collections.Generic.IEnumerable<ModelBuilder.BusinessUnit> lk_businessunitbase_createdby
        {
            get
            {
                return this.GetRelatedEntities<ModelBuilder.BusinessUnit>("lk_businessunitbase_createdby", null);
            }
            set
            {
                this.SetRelatedEntities<ModelBuilder.BusinessUnit>("lk_businessunitbase_createdby", null, value);
            }
        }
         
        /// <summary>
        /// 1:N lk_businessunitbase_modifiedby
        /// </summary>
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_businessunitbase_modifiedby")]
        public System.Collections.Generic.IEnumerable<ModelBuilder.BusinessUnit> lk_businessunitbase_modifiedby
        {
            get
            {
                return this.GetRelatedEntities<ModelBuilder.BusinessUnit>("lk_businessunitbase_modifiedby", null);
            }
            set
            {
                this.SetRelatedEntities<ModelBuilder.BusinessUnit>("lk_businessunitbase_modifiedby", null, value);
            }
        }
         
        /// <summary>
        /// 1:N lk_environmentvariabledefinition_createdby
        /// </summary>
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_environmentvariabledefinition_createdby")]
        public System.Collections.Generic.IEnumerable<ModelBuilder.EnvironmentVariableDefinition> lk_environmentvariabledefinition_createdby
        {
            get
            {
                return this.GetRelatedEntities<ModelBuilder.EnvironmentVariableDefinition>("lk_environmentvariabledefinition_createdby", null);
            }
            set
            {
                this.SetRelatedEntities<ModelBuilder.EnvironmentVariableDefinition>("lk_environmentvariabledefinition_createdby", null, value);
            }
        }
         
        /// <summary>
        /// 1:N lk_environmentvariabledefinition_createdonbehalfby
        /// </summary>
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_environmentvariabledefinition_createdonbehalfby")]
        public System.Collections.Generic.IEnumerable<ModelBuilder.EnvironmentVariableDefinition> lk_environmentvariabledefinition_createdonbehalfby
        {
            get
            {
                return this.GetRelatedEntities<ModelBuilder.EnvironmentVariableDefinition>("lk_environmentvariabledefinition_createdonbehalfby", null);
            }
            set
            {
                this.SetRelatedEntities<ModelBuilder.EnvironmentVariableDefinition>("lk_environmentvariabledefinition_createdonbehalfby", null, value);
            }
        }
         
        /// <summary>
        /// 1:N lk_environmentvariabledefinition_modifiedby
        /// </summary>
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_environmentvariabledefinition_modifiedby")]
        public System.Collections.Generic.IEnumerable<ModelBuilder.EnvironmentVariableDefinition> lk_environmentvariabledefinition_modifiedby
        {
            get
            {
                return this.GetRelatedEntities<ModelBuilder.EnvironmentVariableDefinition>("lk_environmentvariabledefinition_modifiedby", null);
            }
            set
            {
                this.SetRelatedEntities<ModelBuilder.EnvironmentVariableDefinition>("lk_environmentvariabledefinition_modifiedby", null, value);
            }
        }
         
        /// <summary>
        /// 1:N lk_environmentvariabledefinition_modifiedonbehalfby
        /// </summary>
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_environmentvariabledefinition_modifiedonbehalfby")]
        public System.Collections.Generic.IEnumerable<ModelBuilder.EnvironmentVariableDefinition> lk_environmentvariabledefinition_modifiedonbehalfby
        {
            get
            {
                return this.GetRelatedEntities<ModelBuilder.EnvironmentVariableDefinition>("lk_environmentvariabledefinition_modifiedonbehalfby", null);
            }
            set
            {
                this.SetRelatedEntities<ModelBuilder.EnvironmentVariableDefinition>("lk_environmentvariabledefinition_modifiedonbehalfby", null, value);
            }
        }
         
        /// <summary>
        /// 1:N lk_environmentvariablevalue_createdby
        /// </summary>
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_environmentvariablevalue_createdby")]
        public System.Collections.Generic.IEnumerable<ModelBuilder.EnvironmentVariableValue> lk_environmentvariablevalue_createdby
        {
            get
            {
                return this.GetRelatedEntities<ModelBuilder.EnvironmentVariableValue>("lk_environmentvariablevalue_createdby", null);
            }
            set
            {
                this.SetRelatedEntities<ModelBuilder.EnvironmentVariableValue>("lk_environmentvariablevalue_createdby", null, value);
            }
        }
         
        /// <summary>
        /// 1:N lk_environmentvariablevalue_createdonbehalfby
        /// </summary>
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_environmentvariablevalue_createdonbehalfby")]
        public System.Collections.Generic.IEnumerable<ModelBuilder.EnvironmentVariableValue> lk_environmentvariablevalue_createdonbehalfby
        {
            get
            {
                return this.GetRelatedEntities<ModelBuilder.EnvironmentVariableValue>("lk_environmentvariablevalue_createdonbehalfby", null);
            }
            set
            {
                this.SetRelatedEntities<ModelBuilder.EnvironmentVariableValue>("lk_environmentvariablevalue_createdonbehalfby", null, value);
            }
        }
         
        /// <summary>
        /// 1:N lk_environmentvariablevalue_modifiedby
        /// </summary>
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_environmentvariablevalue_modifiedby")]
        public System.Collections.Generic.IEnumerable<ModelBuilder.EnvironmentVariableValue> lk_environmentvariablevalue_modifiedby
        {
            get
            {
                return this.GetRelatedEntities<ModelBuilder.EnvironmentVariableValue>("lk_environmentvariablevalue_modifiedby", null);
            }
            set
            {
                this.SetRelatedEntities<ModelBuilder.EnvironmentVariableValue>("lk_environmentvariablevalue_modifiedby", null, value);
            }
        }
         
        /// <summary>
        /// 1:N lk_environmentvariablevalue_modifiedonbehalfby
        /// </summary>
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_environmentvariablevalue_modifiedonbehalfby")]
        public System.Collections.Generic.IEnumerable<ModelBuilder.EnvironmentVariableValue> lk_environmentvariablevalue_modifiedonbehalfby
        {
            get
            {
                return this.GetRelatedEntities<ModelBuilder.EnvironmentVariableValue>("lk_environmentvariablevalue_modifiedonbehalfby", null);
            }
            set
            {
                this.SetRelatedEntities<ModelBuilder.EnvironmentVariableValue>("lk_environmentvariablevalue_modifiedonbehalfby", null, value);
            }
        }
         
        /// <summary>
        /// 1:N lk_systemuser_createdonbehalfby
        /// </summary>
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_systemuser_createdonbehalfby", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
        public System.Collections.Generic.IEnumerable<ModelBuilder.SystemUser> Referencedlk_systemuser_createdonbehalfby
        {
            get
            {
                return this.GetRelatedEntities<ModelBuilder.SystemUser>("lk_systemuser_createdonbehalfby", Microsoft.Xrm.Sdk.EntityRole.Referenced);
            }
            set
            {
                this.SetRelatedEntities<ModelBuilder.SystemUser>("lk_systemuser_createdonbehalfby", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
            }
        }
         
        /// <summary>
        /// 1:N lk_systemuser_modifiedonbehalfby
        /// </summary>
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_systemuser_modifiedonbehalfby", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
        public System.Collections.Generic.IEnumerable<ModelBuilder.SystemUser> Referencedlk_systemuser_modifiedonbehalfby
        {
            get
            {
                return this.GetRelatedEntities<ModelBuilder.SystemUser>("lk_systemuser_modifiedonbehalfby", Microsoft.Xrm.Sdk.EntityRole.Referenced);
            }
            set
            {
                this.SetRelatedEntities<ModelBuilder.SystemUser>("lk_systemuser_modifiedonbehalfby", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
            }
        }
         
        /// <summary>
        /// 1:N lk_systemuserbase_createdby
        /// </summary>
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_systemuserbase_createdby", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
        public System.Collections.Generic.IEnumerable<ModelBuilder.SystemUser> Referencedlk_systemuserbase_createdby
        {
            get
            {
                return this.GetRelatedEntities<ModelBuilder.SystemUser>("lk_systemuserbase_createdby", Microsoft.Xrm.Sdk.EntityRole.Referenced);
            }
            set
            {
                this.SetRelatedEntities<ModelBuilder.SystemUser>("lk_systemuserbase_createdby", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
            }
        }
         
        /// <summary>
        /// 1:N lk_systemuserbase_modifiedby
        /// </summary>
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_systemuserbase_modifiedby", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
        public System.Collections.Generic.IEnumerable<ModelBuilder.SystemUser> Referencedlk_systemuserbase_modifiedby
        {
            get
            {
                return this.GetRelatedEntities<ModelBuilder.SystemUser>("lk_systemuserbase_modifiedby", Microsoft.Xrm.Sdk.EntityRole.Referenced);
            }
            set
            {
                this.SetRelatedEntities<ModelBuilder.SystemUser>("lk_systemuserbase_modifiedby", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
            }
        }
         
        /// <summary>
        /// 1:N lk_team_createdonbehalfby
        /// </summary>
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_team_createdonbehalfby")]
        public System.Collections.Generic.IEnumerable<ModelBuilder.Team> lk_team_createdonbehalfby
        {
            get
            {
                return this.GetRelatedEntities<ModelBuilder.Team>("lk_team_createdonbehalfby", null);
            }
            set
            {
                this.SetRelatedEntities<ModelBuilder.Team>("lk_team_createdonbehalfby", null, value);
            }
        }
         
        /// <summary>
        /// 1:N lk_team_modifiedonbehalfby
        /// </summary>
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_team_modifiedonbehalfby")]
        public System.Collections.Generic.IEnumerable<ModelBuilder.Team> lk_team_modifiedonbehalfby
        {
            get
            {
                return this.GetRelatedEntities<ModelBuilder.Team>("lk_team_modifiedonbehalfby", null);
            }
            set
            {
                this.SetRelatedEntities<ModelBuilder.Team>("lk_team_modifiedonbehalfby", null, value);
            }
        }
         
        /// <summary>
        /// 1:N lk_teambase_administratorid
        /// </summary>
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_teambase_administratorid")]
        public System.Collections.Generic.IEnumerable<ModelBuilder.Team> lk_teambase_administratorid
        {
            get
            {
                return this.GetRelatedEntities<ModelBuilder.Team>("lk_teambase_administratorid", null);
            }
            set
            {
                this.SetRelatedEntities<ModelBuilder.Team>("lk_teambase_administratorid", null, value);
            }
        }
         
        /// <summary>
        /// 1:N lk_teambase_createdby
        /// </summary>
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_teambase_createdby")]
        public System.Collections.Generic.IEnumerable<ModelBuilder.Team> lk_teambase_createdby
        {
            get
            {
                return this.GetRelatedEntities<ModelBuilder.Team>("lk_teambase_createdby", null);
            }
            set
            {
                this.SetRelatedEntities<ModelBuilder.Team>("lk_teambase_createdby", null, value);
            }
        }
         
        /// <summary>
        /// 1:N lk_teambase_modifiedby
        /// </summary>
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_teambase_modifiedby")]
        public System.Collections.Generic.IEnumerable<ModelBuilder.Team> lk_teambase_modifiedby
        {
            get
            {
                return this.GetRelatedEntities<ModelBuilder.Team>("lk_teambase_modifiedby", null);
            }
            set
            {
                this.SetRelatedEntities<ModelBuilder.Team>("lk_teambase_modifiedby", null, value);
            }
        }
         
        /// <summary>
        /// 1:N tct_ExpenseApprover_SystemUser
        /// </summary>
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("tct_ExpenseApprover_SystemUser", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
        public System.Collections.Generic.IEnumerable<ModelBuilder.SystemUser> Referencedtct_ExpenseApprover_SystemUser
        {
            get
            {
                return this.GetRelatedEntities<ModelBuilder.SystemUser>("tct_ExpenseApprover_SystemUser", Microsoft.Xrm.Sdk.EntityRole.Referenced);
            }
            set
            {
                this.SetRelatedEntities<ModelBuilder.SystemUser>("tct_ExpenseApprover_SystemUser", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
            }
        }
         
        /// <summary>
        /// 1:N user_environmentvariabledefinition
        /// </summary>
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_environmentvariabledefinition")]
        public System.Collections.Generic.IEnumerable<ModelBuilder.EnvironmentVariableDefinition> user_environmentvariabledefinition
        {
            get
            {
                return this.GetRelatedEntities<ModelBuilder.EnvironmentVariableDefinition>("user_environmentvariabledefinition", null);
            }
            set
            {
                this.SetRelatedEntities<ModelBuilder.EnvironmentVariableDefinition>("user_environmentvariabledefinition", null, value);
            }
        }
         
        /// <summary>
        /// 1:N user_environmentvariablevalue
        /// </summary>
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_environmentvariablevalue")]
        public System.Collections.Generic.IEnumerable<ModelBuilder.EnvironmentVariableValue> user_environmentvariablevalue
        {
            get
            {
                return this.GetRelatedEntities<ModelBuilder.EnvironmentVariableValue>("user_environmentvariablevalue", null);
            }
            set
            {
                this.SetRelatedEntities<ModelBuilder.EnvironmentVariableValue>("user_environmentvariablevalue", null, value);
            }
        }
         
        /// <summary>
        /// 1:N user_parent_user
        /// </summary>
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_parent_user", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
        public System.Collections.Generic.IEnumerable<ModelBuilder.SystemUser> Referenceduser_parent_user
        {
            get
            {
                return this.GetRelatedEntities<ModelBuilder.SystemUser>("user_parent_user", Microsoft.Xrm.Sdk.EntityRole.Referenced);
            }
            set
            {
                this.SetRelatedEntities<ModelBuilder.SystemUser>("user_parent_user", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
            }
        }
         
        /// <summary>
        /// N:N teammembership_association
        /// </summary>
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("teammembership_association")]
        public System.Collections.Generic.IEnumerable<ModelBuilder.Team> teammembership_association
        {
            get
            {
                return this.GetRelatedEntities<ModelBuilder.Team>("teammembership_association", null);
            }
            set
            {
                this.SetRelatedEntities<ModelBuilder.Team>("teammembership_association", null, value);
            }
        }
         
        /// <summary>
        /// N:1 business_unit_system_users
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_system_users")]
        public ModelBuilder.BusinessUnit business_unit_system_users
        {
            get
            {
                return this.GetRelatedEntity<ModelBuilder.BusinessUnit>("business_unit_system_users", null);
            }
            set
            {
                this.SetRelatedEntity<ModelBuilder.BusinessUnit>("business_unit_system_users", null, value);
            }
        }
         
        /// <summary>
        /// N:1 lk_systemuser_createdonbehalfby
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_systemuser_createdonbehalfby", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
        public ModelBuilder.SystemUser Referencinglk_systemuser_createdonbehalfby
        {
            get
            {
                return this.GetRelatedEntity<ModelBuilder.SystemUser>("lk_systemuser_createdonbehalfby", Microsoft.Xrm.Sdk.EntityRole.Referencing);
            }
        }
         
        /// <summary>
        /// N:1 lk_systemuser_modifiedonbehalfby
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_systemuser_modifiedonbehalfby", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
        public ModelBuilder.SystemUser Referencinglk_systemuser_modifiedonbehalfby
        {
            get
            {
                return this.GetRelatedEntity<ModelBuilder.SystemUser>("lk_systemuser_modifiedonbehalfby", Microsoft.Xrm.Sdk.EntityRole.Referencing);
            }
        }
         
        /// <summary>
        /// N:1 lk_systemuserbase_createdby
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_systemuserbase_createdby", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
        public ModelBuilder.SystemUser Referencinglk_systemuserbase_createdby
        {
            get
            {
                return this.GetRelatedEntity<ModelBuilder.SystemUser>("lk_systemuserbase_createdby", Microsoft.Xrm.Sdk.EntityRole.Referencing);
            }
        }
         
        /// <summary>
        /// N:1 lk_systemuserbase_modifiedby
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_systemuserbase_modifiedby", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
        public ModelBuilder.SystemUser Referencinglk_systemuserbase_modifiedby
        {
            get
            {
                return this.GetRelatedEntity<ModelBuilder.SystemUser>("lk_systemuserbase_modifiedby", Microsoft.Xrm.Sdk.EntityRole.Referencing);
            }
        }
         
        /// <summary>
        /// N:1 tct_ExpenseApprover_SystemUser
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("tct_expenseapprover")]
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("tct_ExpenseApprover_SystemUser", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
        public ModelBuilder.SystemUser Referencingtct_ExpenseApprover_SystemUser
        {
            get
            {
                return this.GetRelatedEntity<ModelBuilder.SystemUser>("tct_ExpenseApprover_SystemUser", Microsoft.Xrm.Sdk.EntityRole.Referencing);
            }
            set
            {
                this.SetRelatedEntity<ModelBuilder.SystemUser>("tct_ExpenseApprover_SystemUser", Microsoft.Xrm.Sdk.EntityRole.Referencing, value);
            }
        }
         
        /// <summary>
        /// N:1 user_parent_user
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentsystemuserid")]
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_parent_user", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
        public ModelBuilder.SystemUser Referencinguser_parent_user
        {
            get
            {
                return this.GetRelatedEntity<ModelBuilder.SystemUser>("user_parent_user", Microsoft.Xrm.Sdk.EntityRole.Referencing);
            }
            set
            {
                this.SetRelatedEntity<ModelBuilder.SystemUser>("user_parent_user", Microsoft.Xrm.Sdk.EntityRole.Referencing, value);
            }
        }
    }
}
#pragma warning restore CS1591