PostNuke Help

Previous
pnUserLogIn

Home
up

Next
pnUserSetVar


pnUserLogOut

log user out

Synopsis

bool pnUserLogOut();

Description

pnUserLogOut() attempts to log the user out of the PostNuke system.

Return Values

This function returns true if the logout attempt was successful or the user is already logged out. This function returns void if an exception was raised.

Exceptions

This function raises DATABASE_ERROR if an error occurs while querying data.

Examples

// Log the user out
pnUserLogOut();
       

See Also

pnUserLoggedIn(), pnUserLogIn()


Previous
pnUserLogIn

Home
up

Next
pnUserSetVar