Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to execute under the context of a local account

Status
Not open for further replies.

mortgagedeveloper

Programmer
Sep 27, 2002
22
US
My program needs to be able to update NTFS folder security on remote machines. I am trying to get the SDDL of a user's SID so I can add an ACE to the file's DACL. I am not able to reference the samlib.dll (figuring that it is the correct one) to access the SAM functions. Am I going about this the wrong way? Got this from the MS Knowledge base but can't figure out how to add a local user to a folder. Any help would be appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top