I'd like to get the full name of the current authenticated user. I use the following function getFullname(getCurrentUserName()). The problem is that the result is sometime empty. For me it is not clear why it is not working sometimes?

asked 10.09.2010 at 04:14

Peter%20Weber's gravatar image

Peter Weber
(suspended)
accept rate: 0%


If there is no user logged into the session then the method getCurrentUserName() will return "". And therefore also the method getFullName() does not provide a useful value.

link

answered 10.09.2010 at 09:46

Tamas%20KIS's gravatar image

Tamas KIS
(suspended)
accept rate: 60%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×24

Asked: 10.09.2010 at 04:14

Seen: 2,078 times

Last updated: 10.09.2010 at 04:14