Пример #1
0
    }//END getUserProfile class

    #region Class General Methods

    //====================================================================================
    /// <summary>
    /// This method imports the values from the base user profile.
    /// </summary>
    /// <param name="BaseUserProfile"></param>
    //------------------------------------------------------------------------------------
    public void ImportBaseUserProfile ( Evado.Model.EvUserProfileBase BaseUserProfile )
    {
      this.UserId = BaseUserProfile.UserId;
      this.ActiveDirectoryUserId = BaseUserProfile.ActiveDirectoryUserId;
      this.Prefix = BaseUserProfile.Prefix;
      this.GivenName = BaseUserProfile.GivenName;
      this.FamilyName = BaseUserProfile.FamilyName;
      this.Suffix = BaseUserProfile.Suffix;
      this.CommonName = BaseUserProfile.CommonName;
      this.EmailAddress = BaseUserProfile.EmailAddress;
      this.Address_1 = BaseUserProfile.Address_1;
      this.Address_2 = BaseUserProfile.Address_2;
      this.AddressCity = BaseUserProfile.AddressCity;
      this.AddressPostCode = BaseUserProfile.AddressPostCode;
      this.AddressState = BaseUserProfile.AddressState;
      this.AddressCountry = BaseUserProfile.AddressCountry;
      this.Telephone = BaseUserProfile.Telephone;
      this.Title = BaseUserProfile.Title;
      this.DomainGroups = BaseUserProfile.DomainGroups;
    }
Пример #2
0
 //==================================================================================
 /// <summary>
 /// This method creates a user profile from a BaseUserProfile.
 /// </summary>
 /// <param name="BaseUserProfile">EvUserProfileBase object.</param>
 //-----------------------------------------------------------------------------------
 public EdUserProfile ( Evado.Model.EvUserProfileBase BaseUserProfile )
 {
   this.ImportBaseUserProfile ( BaseUserProfile );
 }