retrieving windowsidentity using the logon name only?

J

Jéjé

Hi,

In this article:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/paght000023.asp

there is a section called "Impersonating by Using the WindowsIdentity
Constructor",

I try it, but I receive a "There are currently no logon servers available to
service the logon request" error

The code is: (test done into the logon.aspx page after I have validated the
user login with a form authentication)

Dim wi As WindowsIdentity = New WindowsIdentity(Login1.UserName)



The delegation is activated for this server. (in the active directory)

like describe here

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/paght000024.asp



any idea of what's appends?



jerome.
 
J

Jéjé

ok
I have disabled the impersonate option in the web.config file.
so now I can impersonate my user like I want...

but I receive some errors when I try to access my backend resources, which
is an OLAP server...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,989
Messages
2,570,207
Members
46,782
Latest member
ThomasGex

Latest Threads

Top