delphi package - easy access to security apis
-
schiva
- Posts: 23
- Joined: Fri Sep 02, 2005 5:23 am
Post
by schiva »
I try to share folder with special user.
NewShare('c:\pds', 'pds','Test Share').Acl.SetFileAccess(account('administrator'), true);
This code working...
But I want to know NewShare function success or not.
-
madshi
- Site Admin
- Posts: 10766
- Joined: Sun Mar 21, 2004 5:25 pm
Post
by madshi »
workedFine := NewShare(...).IsValid;