Show TOC

ifAnonymousUserLocate this document in the navigation structure

Use

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.

            <nav:ifAnonymousUser>

   ... Display logon link

</nav:ifAnonymousUser>

<nav:ifNotAnonymousUser>

   ... Display greeting for current user

</nav:ifNotAnonymousUser>

         
More Information