Skip to end of metadata
Go to start of metadata

The following code retrieves the details for a logged-in user:

Below are two alternatives for retrieving the Organization Service:

  • The first alternative
  • The second alternative

Both alternatives are probably better then OrganizationService orgService = getApplicationComponent(OrganizationService.class) because you can use them from your own portlets or servlet/portlet filters. Variant with getApplicationComponent variant works only from WebUI.

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Jan 09, 2013

    Content of wiki up to version 3 updated in official docs.