---
title: "Read and write multiple Properties with Google Apps Script"
author: "Phil Bainbridge"
date: 2023-03-21T19:38:44+00:00
canonical_url: https://pulse.appsscript.info/p/2023/03/read-and-write-multiple-properties-with-google-apps-script/
markdown_url: https://pulse.appsscript.info/p/2023/03/read-and-write-multiple-properties-with-google-apps-script.md
categories:
  - "Beginner"
  - "Snippet"
tags:
  - "pbainbridge.co.uk"
featured_image: https://pulse.appsscript.info/files/2023/03/Read20from20User20Properties.png
description: "In the latest snippet from Phil Bainbridge they share a nice tip for handling multiple User Properties in a single call."
---

# Read and write multiple Properties with Google Apps Script

![Read and write multiple Properties with Google Apps Script](https://pulse.appsscript.info/files/2023/03/Read20from20User20Properties.png)

> Bulk read and write a number of key-value pairs in the User Properties store. Extract to an Object for ease of use elsewhere in your code.
> Access User Properties and put the values into an Object

The following Google Apps Script is a few snippets of some larger code where I needed to write (and then later read back) a number of [User Properties**](https://developers.google.com/apps-script/guides/properties) in one go. Rather than creating multiple single write requests it is more efficient to do this in bulk.

I also needed a way to bulk read/extract these values later so I implemented a [JavaScript Object**](https://www.w3schools.com/js/js_objects.asp) that would allow me to easily call the Property name and get its value in return.

Source: *[The Gift of Script: Read & write multiple User Properties*](https://www.pbainbridge.co.uk/2023/03/read-write-multiple-user-properties.html)

---

*Published by [Phil Bainbridge](https://pulse.appsscript.info/p/author/phillipbainbridge/) on [Pulse](https://pulse.appsscript.info/). Original article: [https://pulse.appsscript.info/p/2023/03/read-and-write-multiple-properties-with-google-apps-script/](https://pulse.appsscript.info/p/2023/03/read-and-write-multiple-properties-with-google-apps-script/)*
