code: public void removeLoginMessage(CmsObject cms) throws CmsRoleViolationException {
  
          OpenCms.getRoleManager().checkRole(cms, CmsRole.ROOT_ADMIN);
          m_loginMessage = null;
      }
docs: Removes the current login message.<p>
  
  This operation requires that the current user has role permissions of <code>{@link CmsRole#ROOT_ADMIN}</code>.<p>
  
  @param cms the current OpenCms user context
  
  @throws CmsRoleViolationException in case the current user does not have the required role permissions