community:isCurrentUser

Checks if the current user equals the given user.

  <community:isCurrentUser name="user">
    Same user
  </community:isCurrentUser>
Syntax
<community:isCurrentUser
   id="..."?
   name="..."?
   userId="..."?>
   ...
</community:isCurrentUser>
Attributes
id, no runtime expressions

Name of the new scripting-variable.

name

Name of the scripting-variable where to check the current user with. This can be a PresentationUser, PresentationPerson, Person, PresentationSection, Section, PresentationArticle or Article object.

userId

The id of the user you want to check.