Digging out an old topic, but I made a plugin that shows the camera position inside a Level Viewport. It can also set this position to a desire location
The actual code checking the stuff is
if (GCurrentLevelEditingViewportClient)
{
FViewportCameraTransform& ViewTransform = GCurrentLevelEditingViewportClient->GetViewTransform();
viewPos = ViewTransform.GetLocation();
}