Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread list of users
Wed, Jul 15 2009 7:18 PMPermanent Link

"Luzi Calivers"
Hello

Is it possible to get a list of users without connecting to a session ?
I want to show a list of users in the self-made login dialog.

Thanks
Thu, Jul 16 2009 1:04 AMPermanent Link

"Raul"
I don't think so.

In the simplest scenario you'd need to query the users table in the
configuration database to get this list (and in more complex one filter
using roles and priviledges for users who actually have access to db you're
using and possibly not list Administrator account and such).

It would be relatively easy todo with a special session that you run first
(using pre-defined username/password) before showing the user login dialog;
or you could simply cache the user names on client app side (meaning once
they log-in it would remember).

This does have some security concerns so make sure you're ok with them (both
from built-in login info as well as showing actual usernames before login).

Raul



"Luzi Calivers" <luzi.calivers@hotmail.com> wrote in message
news:576EA556-5405-4BBA-AE62-F5BD7D0BB89B@news.elevatesoft.com...
> Hello
>
> Is it possible to get a list of users without connecting to a session ?
> I want to show a list of users in the self-made login dialog.
>
> Thanks
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 4248 (20090716) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4248 (20090716) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



Thu, Jul 16 2009 2:19 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Luzi,

<< Is it possible to get a list of users without connecting to a session ? I
want to show a list of users in the self-made login dialog. >>

No, and it is usually considered a security hole to display user names to a
non-administrator.

--
Tim Young
Elevate Software
www.elevatesoft.com

Fri, Jul 17 2009 3:19 PMPermanent Link

"Luzi Calivers"
Agreed. Thanks
Image