';
var imgUrl;
if (user.PrimaryImageTag) {
imgUrl = ApiClient.getUserImageUrl(user.Id, {
width: 300,
tag: user.PrimaryImageTag,
type: "Primary"
});
} else {
imgUrl = 'css/images/userflyoutdefault.png';
}
html += '';
if (user.ConnectUserId && addConnectIndicator) {
html += '
';
}
html += "
";
// cardContent
html += "