The function is exported in ARS.pm as ars_SetImpersonatedUser and here
is the man page

ars_SetImpersonatedUser(ctrl,loginName)
This function enables an API program running under an administrator
login to perform certain operations as a specific user.

loginName is the login name of the impersonated user. Use "" (i.e. the
empty string) to switch back to the admin user.

On success
    Returns 1
On failure
    Returns 0

Example:

              ars_SetImpersonatedUser($ctrl,"TestUser") || die "$ars_errstr";


ars_SetImpersonatedUser was introduced in version 1.90 of ARSperl

Last changes to this page 22th February 2007 by [EMAIL PROTECTED]
(c) J.C.Murphy, J.W.Murphy, T.Stapff 2007 [EMAIL PROTECTED]

On Thu, Oct 30, 2008 at 9:35 PM, Axton <[EMAIL PROTECTED]> wrote:
> Is the c function ARSetImpersonatedUser implemented in arsperl 1.91?
>
> Thanks,
> Axton Grams
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>
>
> --
> Arsperl-users mailing list
> Arsperl-users@arsperl.org
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>



-- 
Michiel Beijen
Software Consultant
+31 6 - 457 42 418
Bee Free IT + http://beefreeit.nl

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/


--
Arsperl-users mailing list
Arsperl-users@arsperl.org
https://lists.sourceforge.net/lists/listinfo/arsperl-users

Reply via email to