TestimoX

API Reference

Class

AclQueryService

Namespace ComputerX.Acl
Assembly ComputerX
Modifiers static

Reads ownership and DACL for a Windows service and returns a typed descriptor.

Inheritance

  • Object
  • AclQueryService

Methods

public static ServiceAclDescriptor Get(String computer, String serviceName) #
Returns: ServiceAclDescriptor

Gets a service ACL descriptor including owner, group, SDDL and DACL entries.

Parameters

computer System.String requiredposition: 0
Computer name (null/empty for local).
serviceName System.String requiredposition: 1
Short service name.