login()

Previous Next

Syntax

 login(user, password, targetPage)

 

Parameter(s)

user [String]

password [String]

targetPage [String, Optional: ""]

 

Description

This function logs a user in and navigates to the default first page that is specified in your publication. Alternatively it navigates to the target page attribute.

 

Related function: logout()