Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using LogonUser()
Message
De
25/04/2000 10:32:59
 
 
À
24/04/2000 15:33:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00362854
Message ID:
00363147
Vues:
24
>It's overwhelmingly likely that while the account may be granted the privilege, you need to set the process token set using AdjustTokenPrivilege() API call. The following is cut from the MSDN docs ...(snip)

Hi Ed,

I went back and read the LogonUser() function in the MSDN carefully and it indicates in the Remarks section that "The privilege does not need to be enabled. The LogonUser function enables the privilege as necessary." In light of this, do you think the enabling code you posted should be necessary to run the function? If not, any other idea on why the function would fail with the privilege granted?

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform