code: public static void showUserInfo(CmsSessionInfo session) {
  
          final Window window = CmsBasicDialog.prepareWindow(DialogWidth.wide);
          CmsUserInfoDialog dialog = new CmsUserInfoDialog(session, new Runnable() {
  
              public void run() {
  
                  window.close();
              }
  
          });
          window.setCaption(CmsVaadinUtils.getMessageText(Messages.GUI_MESSAGES_SHOW_USER_0));
          window.setContent(dialog);
          A_CmsUI.get().addWindow(window);
      }
docs: Shows a dialog with user information for given session.
  
  @param session to show information for