Security_DenyRegAccess
Description
Denies a Trustee (user or group) access to a Registry key
Â
Syntax
Security_DenyRegAccess(sHandle, sKey,sTrustee) As Boolean
Â
Parameters
sHandle (String)
HKEY Handle
sKey (String)
Subkey
sTrustee (String)
A trustee is a user or group. Trustee can either be "Domainname/username" or a Well-known SID (Security Identifier)
Â
Example
VBScript
If bStatus Then bStatus = Security_DenyRegAccess("HKLM", "Software\CapaInstaller", "S-1-5-4")
Â
Related functions
Security functions Security_SetRegPermissions Security_RevokeRegPermissions