Logging in to the portal
Before we can work with portal scripting commands, you need to log in to the portal server instance where to work with the Portal Scripting Interface.
./wpscript.sh -lang jython -port 10033 -user SiteAdmin -password SiteAdmin
Log on to the portal using one of the following script commands:
Jython: Portal.login("user_ID", "password")
JACL: $Portal login user_ID passwordFor example:
Portal.login("SiteAdmin", "SiteAdmin")
We can now administer the portal instance in a similar way as using the Portal Administration user interface. The following examples show how we can work with pages.
Parent topic: Getting started with the Portal Scripting Interface