Security\_DenyShareAccess
Description
Section titled “Description”Denies a trustee access to a share.
Syntax
Section titled “Syntax”Security_DenyShareAccess(sShare, sTrustee) As Boolean
Parameters
Section titled “Parameters”sShare (String)
Name of the Share
sTrustee (String)
A trustee is a user or group. Trustee can either be “Domainname/username” or a Well-known SID’s (Security Identifier)
Example
Section titled “Example”VBScript
If bStatus Then bStatus = Security_DenyShareAccess("\\server01\CapaInstaller", "S-1-5-4")Related functions
Section titled “Related functions”Security functions Security_SetSharePermissions Security_RevokeSharePermissions