/
Security_DenyServiceAccess
Security_DenyServiceAccess
Description
Denies a Trustee (user or group) access to a Service
Syntax
Security_DenyServiceAccess(sService, sTrustee) As Boolean
Parameters
sService (String)
Name of the Service
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_DenyServiceAccess("Service", "S-1-5-4")
Related functions
Security functions Security_SetServicePermissions Security_RevokeServicePermissions
, multiple selections available,
Related content
Security
More like this
Global Security Configuration
Global Security Configuration
More like this
Sys_GetSerialNumber
Sys_GetSerialNumber
More like this
$cs.Reg_ExistVariable
$cs.Reg_ExistVariable
More like this
Patch Management Service
Patch Management Service
More like this
CapaOne AdminOnDemand
CapaOne AdminOnDemand
More like this