G
Guest
I am trying to get the path of a user's Personal folder from within a web form.
When I use the call:
Environment.GetFolderPath(Environment.SpecialFolder.Personal)
I get absolutely nothing back. When I query for Environment.UserName, it
returns ASPNET (which makes sense). The fact that the user is ASPNET and not
the real local user could explain why I'm not getting anything back with my
GetFolderPath calls.
Is there a way within a Web Form (I'm using vb.net as code behind) to
retrieve the Personal Path of the logged in user?
When I use the call:
Environment.GetFolderPath(Environment.SpecialFolder.Personal)
I get absolutely nothing back. When I query for Environment.UserName, it
returns ASPNET (which makes sense). The fact that the user is ASPNET and not
the real local user could explain why I'm not getting anything back with my
GetFolderPath calls.
Is there a way within a Web Form (I'm using vb.net as code behind) to
retrieve the Personal Path of the logged in user?