I don't know that you can do that with VFP. Vague recollection is that it
needs a callback function to complete the process.
One needs to impersonate an account to get it to work.

What I've done in the past is launched a new program forcing the escalation.

HTH,
Tracy

-----Original Message-----
From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Fred
Taylor
Sent: Tuesday, October 27, 2020 6:45 PM
To: profoxt...@leafe.com
Subject: Need way to change user to access protected folder

Anybody have a way to change the user while an app is running so I can
access a protected folder?  Haven't done much Windows API in quite some
time.


Fred


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/001201d6acd1$97f5f7b0$c7e1e710$@powerchurch.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to