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

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")

Scripting Guidelines

 

Related functions

Security functions Security_DenyShareAccess Security_SetSharePermissions

  • No labels