RE: Impersonation and accessing Windows file share
- From: lukezhan@xxxxxxxxxxxxxxxxxxxx (Luke Zhang [MSFT])
- Date: Thu, 30 Mar 2006 03:01:57 GMT
Hello,
First, you can use the following code to determine what user the thread is
executing as:
System.Security.Principal.WindowsIdentity.GetCurrent().Name
Also, you if logon as the System account on the server, can you access the
Windows file share like "\\Myserver\Myshare"?
Regards,
Luke Zhang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
.
- Prev by Date: Re: Web.config <location> not redirecting
- Next by Date: TripleDES with weak keys
- Previous by thread: Web.config <location> not redirecting
- Next by thread: RE: Impersonation and accessing Windows file share
- Index(es):
Relevant Pages
|
|