Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-2314

Added new getValidUserId() method to PortalUtil

    Details

      Description

      A new method has been added to PortalUtil

      public long getValidUserId(long companyId, long userId)

      The new method will return the same userId passed to the method if the userId is valid. If it is not valid, the default user id will be returned instead.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pani.gui Pani Gui (Inactive)
              Reporter:
              brian.chan Brian Chan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  5.1 EE SP6 (5.1.9)
                  5.2 EE SP4 (5.2.8)