Answer the question
In order to leave comments, you need to log in
What Logon Type to use?
Good afternoon.
The project in the code uses the LOGON32_LOGON_INTERACTIVE parameter for the LogonUserW function. Login is made for the subsequent call of the LookupAccountNameA function to obtain the SID.
The question is, what is the optimal Logon Type to use here?
With LOGON32_LOGON_INTERACTIVE, there are intermittent delays when there is no access to the domain. As far as I understand, LOGON32_LOGON_NETWORK works faster due to the fact that it doesn't cache login/password. Can I use it? Or some other type?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question