Show TOC

Background documentationifAnonymousUser Locate this document in the navigation structure

 

Includes its body if the current user is an anonymous user.

Example

The following displays a link to a logon page if the use is anonymous, and a welcome greeting if the user is not anonymous.

Syntax Syntax

  1. <nav:ifAnonymousUser>
    
       ... Display logon link
    
    </nav:ifAnonymousUser>
    
    <nav:ifNotAnonymousUser>
    
       ... Display greeting for current user
    
    </nav:ifNotAnonymousUser>
    
End of the code.

More Information