This documentation applies to the 8.0 version of Remedy Action Request System, which is in "End of Version Support." You will not be able to leave comments.

To view the latest version, select the version from the Product version menu.



Enables plug-ins, the mid tier, and other programs (such as the Email Engine) to run as an administrator but to perform operations as a specific user (with the user's permissions and licensing in effect). For more information, see Impersonating a user.


BMC Remedy AR System administrator.


#include "ar.h"
#include "arerrno.h"
#include "arextern.h"
#include "arstruct.h"

int ARSetImpersonatedUser(
   ARControlStruct *control,
   ARAccessNameType impersonatedUser,
   ARStatusList *status)


The control record for the operation. It contains information about the user requesting the operation, where that operation is to be performed, and which session is used to perform it. The user and server fields are required.


The name of the user that the API is impersonating. It is NULL if you want to stop impersonating.

Return values


A list of zero or more notes, warnings, or errors generated from a call to this function. For a description of all possible values, see Error checking.

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.