}//END getDataObject_MUP_GeneralGroup Method

    // ==============================================================================
    /// <summary>
    /// This method add the user personal details update group.
    /// </summary>
    /// <param name="Page">Evado.UniForm.Model.Page object.</param>
    //  ------------------------------------------------------------------------------
    private void getDataObject_MUP_DetailsGroup (
      Evado.UniForm.Model.Page Page )
    {
      this.LogMethod ( "getDataObject_MUP_DetailsGroup" );
      // 
      // Initialise the methods variables and objects.
      // 
      Evado.UniForm.Model.Field groupField = new Evado.UniForm.Model.Field ( );
      Evado.UniForm.Model.Group pageGroup = new Evado.UniForm.Model.Group ( );
      Evado.UniForm.Model.Command groupCommand = new Evado.UniForm.Model.Command ( );

      // 
      // create the page pageMenuGroup
      // 
      pageGroup = Page.AddGroup (
        EdLabels.UserProfile_General_Details_Group_Title,
        Evado.UniForm.Model.EditAccess.Inherited );
      pageGroup.Layout = Evado.UniForm.Model.GroupLayouts.Full_Width;
      pageGroup.EditAccess = Evado.UniForm.Model.EditAccess.Enabled;

      pageGroup.SetCommandBackBroundColor (
        Evado.UniForm.Model.GroupParameterList.BG_Mandatory,
        Evado.UniForm.Model.Background_Colours.Red );

      //
      // Add the groups commands.
      //
      this.getDataObject_UserGroupCommands ( pageGroup );


      this.LogDebug ( "ImageFileName {0}.", this.Session.UserProfile.ImageFileName );
      // 
      // Create the customer name object
      // 
      if ( this.AdapterObjects.Settings.hasHiddenUserProfileField ( EdUserProfile.FieldNames.Image_File_Name ) == false )
      {
        this.Session.UserProfile.CurrentImageFileName = this.Session.UserProfile.ImageFileName;

        groupField = pageGroup.createImageField (
          Evado.Digital.Model.EdUserProfile.FieldNames.Image_File_Name,
          EdLabels.UserProfile_ImageFileame_Field_Label,
          this.Session.UserProfile.ImageFileName,
          300,
          300 );
        groupField.Layout = EuAdapter.DefaultFieldLayout;

        try
        {
          String stTargetPath = this.UniForm_BinaryFilePath + this.Session.UserProfile.ImageFileName;
          String stImagePath = this.UniForm_ImageFilePath + this.Session.UserProfile.ImageFileName;

          this.LogDebug ( "Target path {0}.", stTargetPath );
          this.LogDebug ( "Image path {0}.", stImagePath );

          //
          // copy the file into the image directory.
          //
          System.IO.File.Copy ( stImagePath, stTargetPath, true );
        }
        catch ( Exception Ex )
        {
          this.LogException ( Ex );
        }
      }
      else
      {
        this.Session.UserProfile.ImageFileName = String.Empty;
      }

      if ( this.AdapterObjects.Settings.hasHiddenUserProfileField ( EdUserProfile.FieldNames.Title ) == false )
      {
        groupField = pageGroup.createTextField (
          Evado.Digital.Model.EdUserProfile.FieldNames.Title,
          EdLabels.UserProfile_Title_Field_Label,
          this.Session.UserProfile.Title, 50 );
        groupField.Layout = EuAdapter.DefaultFieldLayout;
      }

      //
      // create the name field.
      //
      this.LogDebug ( "Delimited Name: " + this.Session.UserProfile.DelimitedName );

      groupField = pageGroup.createNameField (
        Evado.Digital.Model.EdUserProfile.FieldNames.Delimted_Name,
        EdLabels.UserProfile_Name_Field_Label,
        this.Session.UserProfile.DelimitedName,
        true,
        false );
      groupField.Layout = EuAdapter.DefaultFieldLayout;

      #region address block
      //
      // define the user address field.
      //
      if ( this.AdapterObjects.Settings.EnableUserAddressUpdate == true
        && this.AdapterObjects.Settings.EnableUserOrganisationUpdate == false )
      {
        this.LogDebug ( "Address_1:" + this.Session.UserProfile.Address_1 );
        this.LogDebug ( "Address_2:" + this.Session.UserProfile.Address_2 );
        this.LogDebug ( "AddressCity:" + this.Session.UserProfile.AddressCity );
        this.LogDebug ( "AddressState:" + this.Session.UserProfile.AddressState );
        this.LogDebug ( "AddressPostCode:" + this.Session.UserProfile.AddressPostCode );
        this.LogDebug ( "AddressCountry:" + this.Session.UserProfile.AddressCountry );
        // 
        // Create the customer name object
        //
        groupField = pageGroup.createAddressField (
          EuUserProfiles.CONST_ADDRESS_FIELD_ID,
          EdLabels.UserProfile_Address_Field_Label,
          this.Session.UserProfile.Address_1,
          this.Session.UserProfile.Address_2,
          this.Session.UserProfile.AddressCity,
          this.Session.UserProfile.AddressState,
          this.Session.UserProfile.AddressPostCode,
          this.Session.UserProfile.AddressCountry );
        groupField.Layout = EuAdapter.DefaultFieldLayout;

        this.LogDebug ( "AddresS:" + groupField.Value );
      }
      #endregion
      #region contact details
      // 
      // Create the customer telephone number object
      // 
      groupField = pageGroup.createTelephoneNumberField (
         Evado.Digital.Model.EdUserProfile.FieldNames.Telephone.ToString ( ),
        EdLabels.UserProfile_Telephone_Field_Label,
        this.Session.UserProfile.Telephone );
      groupField.Layout = EuAdapter.DefaultFieldLayout;

      // 
      // Create the customer telephone number object
      // 
      groupField = pageGroup.createTelephoneNumberField (
         Evado.Digital.Model.EdUserProfile.FieldNames.Mobile_Phone.ToString ( ),
        EdLabels.UserProfile_Mobilephone_Field_Label,
        this.Session.UserProfile.MobilePhone );
      groupField.Layout = EuAdapter.DefaultFieldLayout;

      // 
      // Create the customer fax number object
      // 
      groupField = pageGroup.createEmailAddressField (
         Evado.Digital.Model.EdUserProfile.FieldNames.Email_Address.ToString ( ),
        EdLabels.UserProfile_Email_Field_Label,
        this.Session.UserProfile.EmailAddress );
      groupField.Layout = EuAdapter.DefaultFieldLayout;
      #endregion

      this.LogMethodEnd ( "getDataObject_MUP_DetailsGroup" );

    }//END getDataObject_MUP_DetailsGroup Method