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
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