logout()

Previous Next

Syntax

 logout (targetPage)

 

Parameter(s)

targetPage [String, Optional: ""]

 

Description

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

 

Related function: login()