implement the Windows authentication in the project,
I am using the LDAP services to fetch the details from the widows directory.
.. .
I mainly use the User.Identity.Name to fetch the user name and keep the
details in the session and passthrough where ever required
First Problem:
Even though the sessions are not expired the user is displayed with the
windows authentication form
Second Problem:
How to get the details of user along with the Groups Assigned to him
Third Problem:
When the sessions are expired, i need to know the situation that sessions
are expired
My main idea is first authentication from the Windows and then with the
database of mine and give him the permissionRaghuram,
please do *not* post the same question,
consecutively, with two different subjects.
That only adds clutter.
Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Espaol
Ven, y hablemos de ASP.NET...
======================
"Raghuram" <rvsraghu@.gmail.com> wrote in message
news:uGoc7bvoFHA.3828@.TK2MSFTNGP12.phx.gbl...
>I have a problem related to the page authentication. . . i am trying to
> implement the Windows authentication in the project,
> I am using the LDAP services to fetch the details from the widows directory.
> . .
> I mainly use the User.Identity.Name to fetch the user name and keep the
> details in the session and passthrough where ever required
> First Problem:
> Even though the sessions are not expired the user is displayed with the
> windows authentication form
> Second Problem:
> How to get the details of user along with the Groups Assigned to him
> Third Problem:
> When the sessions are expired, i need to know the situation that sessions
> are expired
> My main idea is first authentication from the Windows and then with the
> database of mine and give him the permission
This articles should guide you through:-
http://www.upyourasp.net/articles/article.aspx?aid=13
or
http://msdn.microsoft.com/library/d...y/en-us/dnnetse
c/html/SecNetHT02.asp
And if you need to extend to a Role Based Windows Auth you can look
through my blog at:-
http://spaces.msn.com/members/naijacoder/
Hope that helps
Patrick
*** Sent via Developersdex http://www.developersdex.com ***
0 comments:
Post a Comment