win32_add_right_access_service
(PECL win32service >=1.1.0)
win32_add_right_access_service — Add rights access for an username to the service
Parameters
servicename
-
The service name to add rights access.
username
-
Read the rights access for username.
right
-
The rights allowed for username.
The service rights constants can be used to define this value.
machine
-
The optional machine name on which you want to create a service.
If omitted, it will use the local machine.