I can resond. Disclaimer: I just had an 1. I'm old and forgetfull. I have a short attention span so I better respond fast. Answer: Yes, you can change a thread principal even if the credentials you are using are not defined locally or are outside the . This call uses the credentials associated with the process meaning that you need either a local account or a domain account to authenticate before you can impersonate. Blah, blah.. But.. Calling Logon. User(.) with the attribute of ???? Don't have to define the account within the .
Once you have the token you might have to call Duplicate. Token() with the option to enable impersonation resulting in a new token. Now call Set. Thread. Token( NULL, token ); (It might be & token?). A call to Impersonate. Loggedon. User( token ); might be required, but I don't think so. Look it up. Do what you need to do. Call Revert. To. Self() if you called Impersonate. Loggedon. User() then Set. Popular Alternatives to DEVONthink for Windows, Mac, Linux, Web, Android and more. Explore 114 apps like DEVONthink, all suggested and ranked by the AlternativeTo. A mainstay of software engineering is a concept called tracing. The first time I encountered the trace capability was in the C programming language, implemented as a. Thread. Token( NULL, NULL ); (I think.. This is off the top of my head (like my hair) and I can't spell!!!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
August 2017
Categories |