c++ - Call API in particular windows credentials -


i want call api in particular windows credentials,

one way is, write particular piece of code or api in exe , execute exe in particular windows credentials. please let me know if aware of other solution.

thanks in advance.

you use logonuser(), impersonateloggenonuser(), call code, call reverttoself() original credentials. can either in thread, or create separate thread , there. latter preferred have thread exited after , not skip reverttoself() call.


Comments

Popular posts from this blog

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -