Classic asp get windows user




















Open method to supply a fixed set of credentials to the web service? Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams?

Learn more. Which account does ASP classic run under when integrated windows authentication is on? Ask Question. Asked 12 years, 6 months ago. Active 12 years, 6 months ago. Viewed 14k times. Does this indicate that we need to get the ASP process running under a domain account?

Improve this question. Can someone please tag this as [asp-classic]? I'm over here from StackOverflow but have no reputation to create a new tag. Add a comment. Active Oldest Votes. Edit: Per your comment, then, as stated above the server is going to have no credentials with which to authenticate the user because Integrated Windows authentication gives the server no plaintext password to pass on to other servers or itself, which is another server in this case.

Three things you could try: If you can get WebService. Improve this answer. Evan Anderson Evan Anderson k 18 18 gold badges silver badges bronze badges. So, did you get it working? Indeed, this was a classic classic ASP kind of problem. Bob Barrows [MVP]. NET Please reply to the newsgroup. The email account listed in my From header is my spam trap, so I don't check it very often. You will get a quicker response by posting to the newsgroup.

If you have one person logged onto the console directly, and two people logged in through terminal services, what do you want to see? Network, but I think it will require significantly elevated privileges typically not recommended for a classic ASP application. Silly me, I was thinking the user logged onto the machine, not the user requesting the web page. I know, what on earth am I doing here, anyway This discussion thread is closed Start new discussion.

Similar topics ASP. How to get current logged in Windows username? Capturing the Windows login user name in ASP. This is just the version to get the information and list it to an ASP page.

There is not any special formatting on this version. Does anyone know what is the difference between two? I'm not positive on this, but I think it has to do with the version of Active Directory.

I see. Could be as I'm running native AD. I do have site that is native If I get a chance I will try to see if makes any difference. Could you please provide the example code you used to post the information to the SQL database. I am currenly working on a similar project. I've put another version in the scripts center that updates a SQL database.

That version also has some formatting too. It references a record in the database named SA so it will only run once per day from AD and the rest of the day it will pull quickly from SQL. If I am understanding correctly, you are wanting to use a form instead of adding an account to the page. If that is the case, then you would pass a HTML request.



0コメント

  • 1000 / 1000