<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.win32service.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'function.win32-read-right-access-service.php',
    1 => 'win32_read_right_access_service',
    2 => 'Read the service rights access for an username',
  ),
  'up' => 
  array (
    0 => 'ref.win32service.php',
    1 => 'win32service İşlevleri',
  ),
  'prev' => 
  array (
    0 => 'function.win32-read-all-rights-access-service.php',
    1 => 'win32_read_all_rights_access_service',
  ),
  'next' => 
  array (
    0 => 'function.win32-remove-right-access-service.php',
    1 => 'win32_remove_right_access_service',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/win32service/functions/win32-read-right-access-service.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.win32-read-right-access-service" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">win32_read_right_access_service</h1>
  <p class="verinfo">(PECL win32service &gt;=1.1.0)</p><p class="refpurpose"><span class="refname">win32_read_right_access_service</span> &mdash; <span class="dc-title">Read the service rights access for an username</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.win32-read-right-access-service-description">
  <h3 class="title">Açıklama</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>win32_read_right_access_service</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$servicename</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$username</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$machine</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span>): <span class="type"><a href="class.win32service-rightinfo.php" class="type Win32Service\RightInfo">Win32Service\RightInfo</a></span></div>

  <p class="para rdfs-comment">
   Read the rights access for <code class="parameter">username</code> on <code class="parameter">servicename</code>
   service. Administrative privileges are required for this to succeed.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.win32-read-right-access-service-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">servicename</code></dt>
     <dd>
      <p class="para">
       The service name to read rights access.
      </p>
     </dd>
    
    
     <dt><code class="parameter">username</code></dt>
     <dd>
      <p class="para">
       Read the rights access for <code class="parameter">username</code>
      </p>
     </dd>
    
    
     <dt><code class="parameter">machine</code></dt>
     <dd>
      <p class="para">
       The optional machine name on which you want to create a service.
       If omitted, it will use the local machine.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.win32-read-right-access-service-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="para">
   Return a <span class="classname"><a href="class.win32service-rightinfo.php" class="classname">Win32Service\RightInfo</a></span> object.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-function.win32-read-right-access-service-errors">
  <h3 class="title">Hatalar/İstisnalar</h3>
  <p class="para">
   A <span class="classname"><a href="class.valueerror.php" class="classname">ValueError</a></span> is thrown if the
   value of <code class="parameter">service</code> parameter is empty.
  </p>
  <p class="para">
   A <span class="classname"><a href="class.valueerror.php" class="classname">ValueError</a></span> is thrown if the
   value of <code class="parameter">username</code> parameter is empty.
  </p>
  <p class="para">
   A <span class="classname"><a href="class.win32serviceexception.php" class="classname">Win32ServiceException</a></span> is thrown on error.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.win32-read-right-access-service-seealso">
  <h3 class="title">Ayrıca Bakınız</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.win32-read-all-rights-access-service.php" class="function" rel="rdfs-seeAlso">win32_read_all_rights_access_service()</a> - Read all service rights access</span></li>
    <li><span class="function"><a href="function.win32-add-right-access-service.php" class="function" rel="rdfs-seeAlso">win32_add_right_access_service()</a> - Add rights access for an username to the service</span></li>
    <li><span class="function"><a href="function.win32-remove-right-access-service.php" class="function" rel="rdfs-seeAlso">win32_remove_right_access_service()</a> - Remove the service rights access for an username</span></li>
    <li><a href="win32service.constants.php#win32service.constants.rights" class="link">Win32 Rights constants</a></li>
   </ul>
  </p>
 </div>


</div><?php manual_footer($setup); ?>