ARSetImpersonatedUser
Privileges
AR System administrator.
Synopsis
#include "ar.h"
#include "arerrno.h"
#include "arextern.h"
#include "arstruct.h"
int ARSetImpersonatedUser(
ARControlStruct *control,
ARAccessNameType impersonatedUser,
ARStatusList *status)
#include "arerrno.h"
#include "arextern.h"
#include "arstruct.h"
int ARSetImpersonatedUser(
ARControlStruct *control,
ARAccessNameType impersonatedUser,
ARStatusList *status)
control
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.
impersonatedUser
The name of the user that the API is impersonating.
Specify NULL if you want to stop impersonating.
Return values
status
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.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*