code: private void putRestrictedAttributes(Map<String, String> attributes) {
  
          // Set disabled attribute
          attributes.put(DISABLED_ATTRIBUTE_NAME, getModel().isDisabled() ? "true" : null);
  
          // Set password expired attribute
          attributes.put(EXPIRED_ATTRIBUTE_NAME, getModel().isExpired() ? "true" : null);
  
          // Set access window start time
          attributes.put(ACCESS_WINDOW_START_ATTRIBUTE_NAME, TimeField.format(getModel().getAccessWindowStart()));
  
          // Set access window end time
          attributes.put(ACCESS_WINDOW_END_ATTRIBUTE_NAME, TimeField.format(getModel().getAccessWindowEnd()));
  
          // Set account validity start date
          attributes.put(VALID_FROM_ATTRIBUTE_NAME, DateField.format(getModel().getValidFrom()));
  
          // Set account validity end date
          attributes.put(VALID_UNTIL_ATTRIBUTE_NAME, DateField.format(getModel().getValidUntil()));
  
          // Set timezone attribute
          attributes.put(TIMEZONE_ATTRIBUTE_NAME, getModel().getTimeZone());
  
      }
docs: Stores all restricted (privileged) attributes within the given Map,
  pulling the values of those attributes from the underlying user model.
  If no value is yet defined for an attribute, that attribute will be set
  to null.
  
  @param attributes
  The Map to store all restricted attributes within.