If you are sure it is a user context issue, then you should be able to solve this via "impersonation" at runtime. Pretty simple stuff to get a token that represents the context of the user you would prefer to run under to see the mappings. Take
a look to the following for a detailed code example on doing this:
atconway
All-Star
16846 Points
2756 Posts
Re: List of directories on local machine (Web Server)
Oct 16, 2011 01:50 AM|LINK
If you are sure it is a user context issue, then you should be able to solve this via "impersonation" at runtime. Pretty simple stuff to get a token that represents the context of the user you would prefer to run under to see the mappings. Take a look to the following for a detailed code example on doing this:
WindowsIdentity.Impersonate Method:
http://msdn.microsoft.com/en-us/library/w070t6ka.aspx