>>Hi Larry,
>>
>>I've been trying to test Rick's code on my NT Server here but GetLastError() is indicating the account doesn't have sufficient privilege. MSDN indicates LogonUser() requires the SE_TCB_NAME ( being part of the trusted computer base; Act as part of the operating system ) privilege to call LogonUser(). Do you ( or anyone else ) know how to assign this privilege in NT Server User Manager? I've looked around in the User Manager but haven't been able to find anything related to this privilege. Or is it assigned elsewhere?
>>
>Bill,
>From the User Manager, select Policies - User Rights. Make sure the Show Advanced User Rights checkbox is checked. Select "Act as part of the operating system" from the drop down. Then click on Add to add your user.
>
>HTH.
Gotcha and thanks. Got that done but still seeing the problem outlined in my "LogonUser()" thread. I will look at Ed's solution to see if it is actually what's happening to me in this case. Man, I'd like to stay away from anything that touches NT Security. :-)
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.