change ASPNet user name

  • Thread starter Thread starter Coco
  • Start date Start date
C

Coco

Hi!
I am developing an asp.net which make use of my c# object
to put message in the message queue which is in the as/400
machine. there's security issue here where the queue
manager only allow the user that it regconise to access
the queue
i have a user called "Intranet" can access to the queue,
how can i make my program to run under this username?
 
You need to add an <identity impersonate = true> tag into the web.config.
Here is the complete syntax

<identity impersonate="true|false"
userName="domain\username"
password="password"/>
 
Back
Top