title: data currect user on firebase android studio
body: <p>I try to do an app with Android Studio but I have a question and need help.</p>
  <p>if I entered to the application with user - for example the user levana(i login to levana user with email and password)</p>
  <p>and now I want to know my current user information (like email,firstname, password) how I do that? and what to write?
  and more question, if I want to know if levana is a kind of 'Help' user how I do that? and what to write?</p>
  <p>thanks</p>
  <p>i add picture to this question, and there is no need code because i see that i need only to work with commands declarations and function of firebase and database</p>
  <p><a href="https://i.stack.imgur.com/yJ65N.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yJ65N.png" alt="enter image description here" /></a></p>
  <p>edit :</p>
  <pre><code>    DatabaseReference db = 
      FirebaseDatabase.getInstance().getReference();
      DatabaseReference emailRef =db.child(&quot;Users&quot;).child(&quot;Help&quot;).child(FireLog.getCurrentUser().getEmail().replaceAll(&quot;\\.&quot;, &quot;,&quot;));
      Log.e(&quot;Stringvalueschec&quot;, &quot;&quot; +emailRef.toString());
      DatabaseReference emailRef = db.child(&quot;Users&quot;).child(&quot;Help&quot;).child(FireLog.getCurrentUser().getEmail().replaceAll(&quot;\\.&quot;, &quot;,&quot;));
      Log.e(&quot;Stringvalueschec&quot;, &quot;&quot; +emailRef.toString());
  
   
     Log.e(&quot;Stringvalueschec&quot;, &quot;&quot; +emailRef);
  
      emailRef.get().addOnCompleteListener(new OnCompleteListener&lt;DataSnapshot&gt;() {
          @Override
          public void onComplete(@NonNull Task&lt;DataSnapshot&gt; task) {
              if (task.isSuccessful()) {
                  DataSnapshot snapshot = task.getResult();
  
                  Configs.Pref_Email=snapshot.child(&quot;email&quot;).getValue(String.class);
                  Configs.Pref_Email_Commas=snapshot.child(&quot;email&quot;).getValue(String.class).replaceAll(&quot;\\.&quot;, &quot;,&quot;);;
                  Configs.Pref_First_Name= snapshot.child(&quot;firstName&quot;).getValue(String.class);
                  Configs.Pref_Last_Name= snapshot.child(&quot;lastName&quot;).getValue(String.class);
                  Configs.Pref_Phone=snapshot.child(&quot;Phone&quot;).getValue(String.class);
                  Configs.Pref_Password= snapshot.child(&quot;password&quot;).getValue(String.class);
  
  
                  Log.e(&quot;Stringvalueschec&quot;, &quot;&quot; + Pref_Email + &quot; &quot; + Pref_Email_Commas + &quot; &quot; + Pref_First_Name + &quot; &quot; + Pref_Last_Name  + &quot; &quot; + Pref_Phone+ &quot; &quot; + Pref_Password);
  
  
  
              } else {
                  Log.d(&quot;TAG&quot;, task.getException().getMessage()); //Don't ignore potential errors!
              }
          }
      });
  </code></pre>