def attrs
      atrs = { :first_name => first_name,
        :last_name => last_name, :login => username,
        :email => email, :has_children => 0 }
      atrs[:send_email] = send_email unless send_email.nil?
      if !self.id.nil?
        atrs.merge!(:principal_id => self.id)
      else
        atrs.merge!(
          :password => password,
          :type => 'user'
        )
      end
      atrs
    end
def attrs
      atrs = { :first_name => first_name,
        :last_name => last_name, :login => username,
        :email => email, :has_children => 0 }
      atrs[:send_email] = send_email unless send_email.nil?
      if !self.id.nil?
        atrs.merge!(:principal_id => self.id)
      else
        atrs.merge!(
          :password => password,
          :type => 'user'
        )
      end
      atrs
    end
user_options - A hash with the following keys:
                first_name - User's first name.
                last_name  - User's last name.
                email      - The email address for the user.
                username   - The login for the connect user.
                uuid       - A unique identifier for this user (used to
                             generate a password).
                send_email - The server sends a welcome e-mail with login information
                             to the user’s e-mail address.