Aufgabe
The contents of this element is displayed if and only if the user logged
into the portal (or the default user if nobody is logged in) has been granted
the live server read permission (permissionLiveServerRead
) for
the page referenced by path
. By means of
negate="true"
this condition can be reversed, meaning that the
page is only displayed if the user has not been granted this permission.
Syntax
<npspm showIfAccessible="path" [negate="negateFlag"]>content</npspm>
As path
please specify the path to a CMS file, i.e.
an internal path. For negateFlag
the values
true
, yes
, on
, 1
(for
true), and false
, no
, off
,
0
(for false) can be specified. The negate
attribute is optional.
Example
<npspm showIfAccessible="/intranet/docs"> <a href="/intranet/docs">Our documents</a> </npspm> <npspm showIfAccessible="/intranet/docs" negate="true"> You have no permission to access our documents </npspm>