Doing impersonation

Hello,
is there any way of doing impersonations under windows. I have a network drive in my local network. If I want to access it I have to do impersonation via windows explorer. Then this impersonation will be valid until the windows sessions ends.
If I try to access this network drive from inside of my xojo-apps without first making a password request my apps aren’t able of accessing that drive. How can I do impersonation from inside my Xojo-apps

Kind Regards
Roger

you can not assign your network location to a drive letter?
right mouse over network at windows desktop.
if xojo run as same login user it should access it then.

The Windows Credentials Manager should help.

Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.