Log In
|
Users
|
Register
Welcome to Wiki ...
Users
,
Groups
OK
Main
IAC
Intranet
Public
IT
Atmoschem
Atmcirc
Atmosdyn
Chemie
Climdyn
Climphys
Highres
Hyclimm
Hymet
Landclim
S2S
Wolke
Collaboration
Main
Log In
Tools
Create New Topic
Index
Alternative Search
Notifications
RSS Feed
General Info
Wiki Help
Wiki News
Changes in all Webs
System Web
Installed Plugins
About Main Web
Statistics
Changes
Preferences
Edit
|
Attach
|
New
|
View
|
Delete
|
History
|
Diff
|
Print
|
Pdf
|
|
Tools
You are here:
Main
»
RenderLdapUser
---+ %TOPIC% <!-- * Set DENYTOPICVIEW = --> ---++ Description Extract user information from an Ldap directory. Note, you have to install the System.LdapNgPlugin to make this work. Depending on your directory layout and the used schema you have to adjust the filter below. ---++ Parameters * KEY: key used to fetc the user record, e.g. the login name ---++ Implementation Guest users should not see login name. <verbatim> %STARTINCLUDE% %IF{"'%USERNAME%'!='guest'" then='%LDAP{"(&(objectClass=person)(uid=%KEY%))" clear="$cn,$mail,$departmentNumber,$telephoneNumber,$postalAddress,$labeledURI" limit="1" format=" <b>Login</b>: $cn <b>Email</b>: $mail <b>Tel:</b> $telephoneNumber <b>Address:</b> <br> $postalAddress "}%' }% %IF{"'%USERNAME%'='guest'" then='%LDAP{"(&(objectClass=person)(uid=%KEY%))" clear="$cn,$mail,$departmentNumber,$telephoneNumber,$postalAddress,$labeledURI" limit="1" format=" <b>Email</b>: $mail <b>Tel:</b> $telephoneNumber <b>Address:</b> <br> $postalAddress "}%' }% %STOPINCLUDE% </verbatim> ---++ Test %INCLUDE{"%TOPIC%" KEY="%USERNAME%"}%
View
Changed by
UrsBeyerle
on
28 Aug 2010 - 13:06 - r3
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Wiki?
Send feedback
Syndicate this site
RSS
ATOM