PHP.nl

win32_read_right_access_service

win32_read_right_access_service

Read the service rights access for an username

Win32Service\RightInfo **win32_read_right_access_service** string $servicename string $username string $machine

Read the rights access for on service. Administrative privileges are required for this to succeed. username``servicename

servicenameThe service name to read rights access.

username Read the rights access for username

machineThe optional machine name on which you want to create a service. If omitted, it will use the local machine.

Return a object. Win32Service\RightInfo

A is thrown if the value of parameter is empty. ValueError``service

A is thrown if the value of parameter is empty. ValueError``username

A is thrown on error. Win32ServiceException

win32_read_all_rights_access_service``win32_add_right_access_service``win32_remove_right_access_serviceWin32 Rights constants