Tags:
create new tag
view all tags

SID-00321: How to find the WIKINAME when USERNAME is known ?

Status: Answered Answered TWiki version: 4.1.2 Perl version: 5.008008 (cygwin)
Category: CategoryApplications Server OS: Windows 2003 Last update: 16 years ago

Let us say that these are the details of a user:

USERNAME = jsmith

WIKINAME = JohnSmith

WIKIUSERNAME = Main.JohnSmith

The parameter %USERINFO{...}% gives the other details of a user when the WIKINAME is known.

Is there a way I can find out the WIKINAME (JohnSmith) of a user whose USERNAME (jsmith) is known ?

Background: I use LDAP Contrib in my Twiki installation. The login Id of the users is their USERNAME. Now, given the login id, I want to find out the name of the user (WIKINAME)

-- ChengappaCB - 2009-05-17

Discussion and Answer

In recent TWiki versions you can specify the login name in USERINFO. See VarUSERINFO.

-- PeterThoeny - 2009-05-17

Thans Peter!. i was not aware that the USERNAME can be given as the parameter in %USERINFO%. I had thought that it had to be WIKINAME

-- ChengappaCB - 2009-05-20

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title How to find the WIKINAME when USERNAME is known ?
SupportCategory CategoryApplications
TWiki version 4.1.2
Server OS Windows 2003
Web server Apache 1.3.39
Perl version 5.008008 (cygwin)
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2009-05-20 - ChengappaCB
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.