Examples that show how to add and get attachments and query for users.