hi friend,
well. i am also trying the same thing, but i am still in lower level than u, even i couldn't execute the function, it gives compilation error
can u pls send me the complete module along with the necessary library file names thru mail to [email protected]


after a couple of days, i decided to use API calss.have u tried LogonUser() API to authenticate the user?
even in that also i am struggling to give correct privilage to the calling process

if u succeed please let me know

regards
subbaiah