setting file security with delphi 2.0 on NT HELP

Is there anyone out there who can tell me how to set access permission
for a user on a file or directory under NT 3.51 / 4.0.

i have tried to use almost all the api call descriped  in MS delveloper
pleace HELP

Bo Soegaard