Security_RevokeSharePermissions
Description
Revokes the permissions on a Share for a Trustee
Â
Syntax
Security_RevokeSharePermissions(sShare, sTrustee) As Boolean
Â
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 (Security Identifier)
Â
Example
VBScript
If bStatus Then bStatus = Security_RevokeSharePermissions("\\server01\CapaInstaller", "S-1-5-4")
Â
Related functions
Security functions Security_DenyShareAccess Security_SetSharePermissions