Skip to main content
Documentation & User Guides | Fotoware

Dynamic user tags

 

This article describes all dynamic tags which expand to properties of the current user.

These tags can be used in actions, search expressions, and in most contexts where there is a current user.

  • In the context of an action, the current user is the user who sent the assets to the action.
  • In the context of a search, the current user is the user who ran the search. For custom taxonomy search strings and smart folder queries, this is the user who navigated to the smart folder or taxonomy item.

When using these tags to uniquely identify the user, choose a unique property. For example, a user may not have an email address or multiple users may have the same email address (although this is not recommended and not possible in some setups, e.g., when using self-service sign-up). Unique properties are the numeric ID of the user and the FotoWeb user name. Custom properties may also be unique, but FotoWeb does not technically guarantee it.

Tag

Description

Example

{{currentUser.username}} FotoWeb username of the user

johndoe

johndoe@addomain.net

{{currentUser.id}} FotoWeb numeric ID of the user 15002
{{currentUser.email}} E-Mail address of the user john.doe@gmail.com
{{currentUser.fullname}} Full name of the user John Doe
{{currentUser.company}} Name of the user's company ACME
{{currentUser.property:KEY}} Value of a property of the user's additional properties.

These are custom properties with user-defined keys and values, which can be set in the user properties in the FotoWeb configuration interface.
If a user property called Employeenumber is set and given a value of 12345, then {{currentUser.property:EmployeeNumber}}returns the value 12345