API:sendUnauthorizedPage

From MODx Wiki

Jump to: navigation, search
 API Function Definition: 
sendUnauthorizedPage
Versions 
> 0.6.0 ?
Return Values
Success: null
Fail: null
Data Type 
void
Object Hierarchy 
DocumentParser
void sendUnauthorizedPage();


Redirect the user to the 'unauthorized' page.

Configure which document this refers to under Tools->Configuration->Unauthorized page in the manager.

If no unauthorized page has been configured in the manager, this will then redirect the user to the page set as the 'error' page (also configured in the manager Configuration), or the site start page.

Examples

Related Functions

Function Source

Notes

Personal tools