showIfLoggedIn

Task

This element causes content to be displayed only if a logged-in user (showIfLoggedIn="true") or anonymous user (showIfLoggedIn="false") requests the page.

Syntax

<npspm showIfLoggedIn="knownFlag"> ... </npspm>

For knownFlag the values true, yes, on, 1 (for true) und false, no, off, 0 (for false) can be used.

Example

<npspm showIfLoggedIn="true">
  You are logged into the portal!
</npspm>