title: Retrieve Data in Parse
body: <p>I have searched through a number of similar topics but have not found a solution as of yet. I am using Parse social and using the login files.</p>
  
  <p>I get the following error:</p>
  
  <p>"AnyObject?" is not convertible to 'String'</p>
  
  <p>I am very new to Swift &amp; Parse - I believe this is the correct method of retrieving data, so please correct me if I am wrong.</p>
  
  <pre><code>    var userObjectID = PFUser.currentUser()!.objectId!
  
  
      var query = PFQuery(className:"User")
      query.getObjectInBackgroundWithId("\(userObjectID)") {
          (userInfo: PFObject?, error: NSError?) -&gt; Void in
          if error == nil &amp;&amp; userInfo != nil {
              println(userInfo)
              let userScore = userInfo["level"] as! String
          } else {
              println(error)
          }
      }
  </code></pre>
  
  <p>Below is the database on Parse</p>
  
  <p><img src="https://i.imgur.com/VAnkuwF.png" alt=""></p>