This shortcode displays the Last Name of the currently logged-in user. To publish the Last Name of another user, use the uid parameter.
[profilegrid_user_last_name]
Simple example
[profilegrid_user_last_name uid="1"] uid is a user ID and its optional The shortcode is available with the core plugin.