473,396 Members | 1,967 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

change ASPNet user name

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?
Nov 17 '05 #1
2 2815
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" <an*******@discussions.microsoft.com> wrote in message
news:06****************************@phx.gbl...
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?

Nov 17 '05 #2
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" <an*******@discussions.microsoft.com> wrote in messagenews:06****************************@phx.gbl...
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?

.

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: gan | last post by:
I created a ASP.NET web setup project with the project name "Setup". I noticed that this name will be used as the default Virtual Directory name during deployment. I'd like to know whether we...
1
by: jn148 | last post by:
I administer three IIS6 servers for a large company where the programmers are now requesting that we change the password for the local aspnet user account on the server to a known password (no...
14
by: Mr.KisS | last post by:
Hi, How to change the account that ASP.NET uses for this virtual directory to one that has rights to the SQL Server box. Or how to use impersonation set in the Web.config file for the asp...
0
by: John Holmes | last post by:
I saw a post in October that related to the problem I'm having and posted something yesterday but never saw it show up, so I'll try again. I read secnet.pdf and gathered from that document that one...
6
by: SirPoonga | last post by:
I have been trying to figure out how to get the user login name of the user using an asp.net page. This is for an intranet. I got as far as doing something like this: Dim wpMain as...
3
by: Kim | last post by:
After installing MSDE2000 on my WIN XP machine, I created the database from Access using the upsizing wizard. Although the tables can be seen from the server explorer, I keep on encountering...
7
by: SK | last post by:
Hi, Would appreciate if anyone could help me on this. Basically my client having few branches across state. And they used Citrix in which to connect to the server side for accessing application...
6
by: Andrew Chalk | last post by:
My application attempts to connect to an SQL Server database as name ASPNET and Login Name SERVERNAME/ASPNET in response to these commands: SqlConnection myConnection = new SqlConnection("Data...
7
by: torus | last post by:
Is the aspnet account called "aspnet" for all non-English versions of Windows and IIS?
5
by: =?Utf-8?B?TWljaGFlbCBNaWxsZXI=?= | last post by:
I created a walkthrough and couldn't connect to my sql server. I looked up the problem and MSDN told me to create an ASPNET "User" in SQL Svr. It worked, but is that right? Do I have to do that...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.