Page tree
Skip to end of metadata
Go to start of metadata

Description

Revokes the permission set on a Registry key

 

Syntax

Security_RevokeRegPermissions(sHandle, sKey, sTrustee) As Boolean

 

Parameters

sHandle (String)

Registry Key

sKey (String)

Name of sub key

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_RevokeRegPermissions("HKLM", "Software\CapaInstaller", "S-1-5-4")

Scripting Guidelines

 

Related functions

Security functions Security_DenyRegAccess Security_SetRegPermissions

  • No labels