change ASPNet user name

Discussion in 'ASP .Net' started by Coco, Oct 15, 2003.

  1. Coco

    Coco Guest

    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?
     
    Coco, Oct 15, 2003
    #1
    1. Advertising

  2. Coco

    Jim Shelly Guest

    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"/>

    "Coco" <> wrote in message
    news:06ff01c392b8$25a1e2f0$...
    > 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?
     
    Jim Shelly, Oct 15, 2003
    #2
    1. Advertising

  3. Coco

    Coco Guest

    this setting will effect the whole application can i
    change it to apply on a program only?
    >-----Original Message-----
    >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"/>
    >
    >"Coco" <> wrote in

    message
    >news:06ff01c392b8$25a1e2f0$...
    >> 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?

    >
    >
    >.
    >
     
    Coco, Oct 15, 2003
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. jn148
    Replies:
    1
    Views:
    5,562
    Keith
    Nov 7, 2003
  2. Gary Nelson

    Upgrade from aspnet 1.1 to aspnet 2.0

    Gary Nelson, Oct 14, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    517
    Gary Nelson
    Oct 14, 2005
  3. Replies:
    7
    Views:
    698
    Juan T. Llibre
    Mar 23, 2007
  4. Brian Schuth
    Replies:
    0
    Views:
    306
    Brian Schuth
    Sep 8, 2003
  5. Alfred Sehmueller
    Replies:
    0
    Views:
    297
    Alfred Sehmueller
    Feb 20, 2004
Loading...

Share This Page