473,394 Members | 1,706 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Programmatically getting impersonation and anonymous user name


For debugging purposes, I'm trying to programmatically retrieve the user
account name for the anonymous and impersonated account. Using
User.Identity.Name didn't do the trick. Any ideas? Thanks =)
Nov 18 '05 #1
1 1446
Should work ? What authentication mode are you using ?

Patrice

--

"jester" <je****@discussions.microsoft.com> a écrit dans le message de
news:38**********************************@microsof t.com...

For debugging purposes, I'm trying to programmatically retrieve the user
account name for the anonymous and impersonated account. Using
User.Identity.Name didn't do the trick. Any ideas? Thanks =)

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Chris | last post by:
Hello all, Here is my problem. I have a windows service (C#) that is supposed to move files from/to the local drive to/from a UNC share (\\domainserver\share). The service is running on a Win3k...
12
by: Anil Krishnamurthy | last post by:
We have an ASP.NET application that uses COM objects through Interop. The web application requires access to network and database resources and hence, needs to impersonate a domain account. The...
2
by: Stephajn Craig | last post by:
I'm developing an ASP.NET app on a Windows 2003 Server. My ASP.NET app is using Windows Authentication and in IIS I have disabled Anonymous Access, and enabled digest authentication. In my...
2
by: Mark | last post by:
We are using impersonation so that a user on our domain will login into our SQL Server using their own domain login and/or associated domain groups. To do this, we've added: <authentication...
1
by: Peter Johansen | last post by:
Hi, I have a server that I use for shared hosting. For security reasons, I set <identity impersonate="true" /> in my machine.config file, and set allowOverRide="false" to prevent individual webs...
3
by: Wm. Scott Miller | last post by:
What is the difference between using a username and password in the processmodel section vs using one in impersonation in the machine.config file? What are the advantages of each and what are the...
2
by: Tom Wells | last post by:
My server admin and I are trying to figure out how to get impersonation working to be able to upload a file from the client browser thru the web server to a network file server. My network ID for...
1
by: bennett | last post by:
In order for my ASP.Net application to access a database using my privileged account, I was told to set up an app using Integrated Windows authentication and to use impersonation. I set the app to...
1
by: Chris Herbert | last post by:
Hi, I have a web page (site.com\page1.asp) which contains a link to a document on the same server (site.com\Restricted\doc1.pdf). I want to ensure that the only way people can access the file is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.