# Retrieve user information

You can retrieve the information of the current user with **`MBAuth.getUserProfile(success:failure)`**.

{% hint style="success" %}
If successful, it returns a **`MBUser`** object as a parameter of the success block.
{% endhint %}

> Swift

```swift
MBAuth.getUserProfile(success: { user in
            
}, failure: { error in
            
})
```
