JwUsersSID: TJwSecurityKnownSID;
JwAuthenticatedUserSID defines the current user SID that started the process. You need to call JwInitWellknownSIDs before accessing this variable! Use:
SD : TJwSecurityDescriptor; ... SD.OwnOwner := false; SD.Owner := JwAuthenticatedUserSID; ... SD.DACL.Add(TJwDiscretionaryAccessControlEntryDeny.Create(nil,[],FILE_EXECUTE,JwAuthenticatedUserSID, false)); //see?: false
|
Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc. |
|
What do you think about this topic? Send feedback!
|