I want to access an ASP remotely page WITHOUT using the ASPNET account

  • Thread starter Thread starter KevinGreen24
  • Start date Start date
K

KevinGreen24

Hello,

I'm a software engineer at a company that's trying to engineer a
multi-tenant report environment and we need to identify which company
is trying to access our report server. So basically if our report
server is on a computer called "COMP", and the windows username of the
user trying to access the report remotely is "IBM/Jsmith", we want
"IBM/Jsmith" to get passed to the remote server instead of
"COMP/ASPNET" which is what usually happens. Is there a way to do this
either programmatically through C# or some other way through windows?

I'll clarify further if needed. Thanks!
 
Hello,

If you have enabled IIS authentication (NTLM or Basic) then
Request.ServerVariables["LOGON_USER"] should give you the currently logged
on user.

See if this helps.

Hello,

I'm a software engineer at a company that's trying to engineer a
multi-tenant report environment and we need to identify which company
is trying to access our report server. So basically if our report
server is on a computer called "COMP", and the windows username of the
user trying to access the report remotely is "IBM/Jsmith", we want
"IBM/Jsmith" to get passed to the remote server instead of
"COMP/ASPNET" which is what usually happens. Is there a way to do this
either programmatically through C# or some other way through windows?

I'll clarify further if needed. Thanks!
 

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

Back
Top