Security_RevokeServicePermissions
Description
Revokes permissions set on a Service for a trustee
Â
Syntax
Security_RevokeServicePermissions(sService, sTrustee) As Boolean
Â
Parameters
sService (String)
Service Name
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_RevokeServicePermissions("Service", "S-1-5-4")
Â
Related functions
Security functions Security_DenyServiceAccess Security_SetServicePermissions