Wählen Sie Ihre Sprache:

All webEdition tags are case sensitive. This applies to tag names as well as to attributes and values. Attribute values always need to be enclosed by double quotes.

<we:ifRegisteredUserCanChange>

Since version: 2.2.0.0 | Requires endtag: yes | Required modules: customer

Description

Content enclosed by this tag will only be displayed if a registered user who is logged in is allowed to edit the current webEdition document or object. The current document or object iteration is used in a listview.

Specific

This tag is only available if the Customer Management Module is installed and the webEdition document is dynamic.

Attributes

protected

Default value: - | since version: - | required: no

Allowed values:

  • true
  • false

admin

Default value: - | since version: 2.2.0.0 | required: no

Set this attribute to the name of a session variable which indicates an administrator. All enclosed contents will only be displayed if the value of this variable is not null or greater than zero.


userid

Default value: - | since version: 2.2.0.0 | required: yes

Set this attribute to a document or object fieldname in which the ID of a customer is stored. The enclosed content will only be displayed if the ID of the current customer is consistent.


Syntax

<we:ifRegisteredUserCanChange [protected="true|false"] [admin="attribute"] userid="attribute"> ... </we:ifRegisteredUserCanChange>