The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title>ARSperl Manual - ars_VerifyUser</title>


</head>

<body style="background-color: rgb(255, 255, 255);">

<h2><code>ars_VerifyUser(ctrl)</code></h2>

This function fetches information regarding the logged in user.
<dl>

  <dt><b>On success</b></dt>

  <dd>returns a reference to a <a href="ds_verifyuser_hash.html">HASH</a> </dd>

  <dt><b>On failure</b></dt>

  <dd> <code>undef</code>. </dd>

</dl>

<p>Example: </p>

<pre> my $vu = ars_VerifyUser($ctrl) || die "ars_VerifyUser: $ars_errstr" ;<br> <br> if ($vu-&gt;{adminFlag}) {print "You have administrative privs!\n";}<br> else {print "You have NO administrative privs.\n";}<br> </pre>

<p>
</p>

<hr width="30%">
<p><a href="toc.html"><img alt="&lt;--" src="arrow.gif" align="middle"> Table of Contents </a>
</p>

<p></p>

<address>&copy; Michiel Beijen 2007,
michiel.beijen@mansolutions.nl
</address>

</body>
</html>