title: Get the user information from document from firestore query?
body: <p>I am querying some documents from firestore. how do I get user info from the snapshot object.</p>
  
  <p>The information like the user ID and user name.</p>
  
  <p>Assuming that the user signed in using a social OAuth provider . IF it matters.</p>
  
  <pre><code>firebase.firestore().collection('sample').get()
          .then(function(snapshot) {
              console.log('SNAPSHOT', snapshot);
              snapshot.forEach(function(doc) {
                  console.log(doc.exists);
                  console.log(doc);
                  console.log(doc.id);
                  console.log(doc.metadata);
                  console.log(doc.ref);
                  console.log(doc.data());
                  console.log(doc.ref.path);
                  console.log(doc);
              })
          }).catch(console.log);
  </code></pre>