title: Extract User Identity From Wifi Connection
body: <p>I have a wifi connection with the following properties: 802.1 EAP, PEAP, MSCHAPv2.</p>
  
  <p>When I connect to the wifi, it's necessary to input the username and password. 
  How can I get the user identity from Android?</p>
  
  <p>I have:</p>
  
  <pre><code>WifiManager myWifiManager = (WifiManager)getSystemService(this.WIFI_SERVICE);
    WifiInfo info = myWifiManager.getConnectionInfo();
    String a=info.toString();
    alertbox.setMessage(a).show();
  </code></pre>
  
  <p>I can see all the information about the wifi (SSID,BSSID,MAC,Supplicant state,RSSI..), but not the user and password. I only need the user. Any idea?</p>
  
  <p>Thank for your time and I apologize for my English if I made mistakes.</p>