In a JSP that includes the <liferay-theme: defineObjects /> tag, the method to check permissions is:
A. permissionChecker.hasPermissionO
B. portalUtil.getPermissionChecker().hasPermission()
C. permissionUtil.hasPermission()
D. renderRequest.getPermissionChecker().hasPermission()
Answer:A
In a JSP that includes the <liferay-theme: defineObjects /> tag, the method to check permissions is:
A. permissionChecker.hasPermissionO B. portalUtil.getPermissionChecker().hasPermission() C. permissionUtil.hasPermission() D. renderRequest.getPermissionChecker().hasPermission()