Retrieve user information
You can retrieve the information of the current user with
MBAuth.getUserProfile(success:failure)
.If successful, it returns a
MBUser
object as a parameter of the success block.Swift
MBAuth.getUserProfile(success: { user in
}, failure: { error in
})
Last modified 3yr ago