AquaLogic .NET Portlet Toolkit AquaLogic Interaction (ALI) Development Guide

     Previous Next  Open TOC in new window   View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Accessing Additional Portlet Information Using the .NET Portlet Toolkit

To access portlet-specific information from ALI, use the .NET Portlet Toolkit objects in the ALIPortletPage base class.

In addition to preferences and user profile information, a variety of other portlet-specific information is available from a portlet page that extends ALIPortletPage. This page provides examples. For a complete list, see the API documentation.
  • To access the current portal session (IRemoteSession), use the following code:
    IRemoteSession session = this.RemotePortalSession;
  • To access the current user's name from ALI, use the following code:
    String name = User.Name;
  • To access the host page URI, use the following code:
    URI hostPage = HostPageURI;

  Back to Top      Previous Next