SPlus.User.getUser (url, function (userProfile){
var username = userProfile['loginName'];//Getting one of the user properties
//TODO: Get more properties
//TODO: Implement what to do with the user profile information
}, function (errorResponse){
var error = errorResponse['error#displayValue']; //Getting the error
//TODO: Implement how to handle errors
});