PubNub
During the tour you may want access to your IDE or new windows to see your code working. You’ll get the best experience viewing on a larger device.

User metadata

You can make your users and the relationships between them more descriptive by storing additional information about them. In the previous step, you inspected which UUIDs were present on your channel.

These UUIDs correlate to user objects which you can add, get, and remove additional data from. Read more about user metadata here.

Try it out

Set uuid-1's name to something other than Ben Franklin.

Change uuid-1's email attribute using the set method.

Create a new user by changing the uuid.

Get the information of the new user you created by calling the new uuid.

Set user information

Set
1 {}

Get user information

Get
1 {}

See the updated user information for yourself