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

Description

Revokes the permissions on a directory for a trustee


Syntax

Security_RevokeDirPermissions(sDir, sTrustee) As Boolean


Parameters

sDir (String)

Name of the Directory

sTrustee (String)

A trustee is a user or group. The trustee can either be "Domain name/username" or a Well-known SID (Security Identifier)


Example

VBScript
If bStatus Then bStatus = Security_RevokeDirPermissions(gsProgramFiles & "\CapaInstaller\Logs", "S-1-5-4")

Scripting Guidelines


Related functions

Security functions Security_DenyDirAccess Security_SetDirPermissions

  • No labels