Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Revokes the permissions on a directory for a trustee

 


Syntax

Security_RevokeDirPermissions(sDir, sTrustee) As Boolean

 


Parameters

sDir (String)

Name of the Directory

...

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

 


Example

Code Block
languagevb
themeEclipse
languagevb
titleVBScript
If bStatus Then bStatus = Security_RevokeDirPermissions(gsProgramFiles & "\CapaInstaller\Logs", "S-1-5-4")

Scripting Guidelines

 


Related functions

Security functions Security_DenyDirAccess Security_SetDirPermissions