Tags:
create new tag
view all tags

Question

Hello, Here is the scenario.

We use usernames instead of TWikiNames to login. The user authentication is done using LDAP. Because of that, the user entries are not made in the TWikiUsers page. So how else can I find out the TWikiName of a person from the username. Or is there a way in which the entry is made into the TWikiUsers automatically?

For Eg:- my username is prajish_s and the TWikiName is PrajishS. So by using prajish_s, I should be able to retrieve PrajishS.

The LdapContrib does this internally. Is there a way to read it using some command.

Environment

-- PrajishS - 23 Jun 2008

Answer

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.

I found some scripts in /twiki/lib/TWiki/Users to do the same. Is there a way to call it in a TWiki page?

-- PrajishS - 24 Jun 2008

I found a way to get it

using the command

%USERINFO{}%
we can get all the details of a particular user.

for eg:

 %USERINFO{"PrajishS"}%
will give an output PrajishS, PrajishS, prajish081@gmailPLEASENOSPAM.com

-- PrajishS - 26 Jun 2008

Change status to:
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2008-06-26 - PrajishS
 
  • 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.