ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » Set up MQEnvironment "UserID" in WMQ 5.3 using .NE

Post new topic  Reply to topic
 Set up MQEnvironment "UserID" in WMQ 5.3 using .NE « View previous topic :: View next topic » 
Author Message
cynthia
PostPosted: Wed Apr 05, 2006 7:14 am    Post subject: Set up MQEnvironment "UserID" in WMQ 5.3 using .NE Reply with quote

Newbie

Joined: 05 Apr 2006
Posts: 2

Hi,

I'm working on a project using WMQ 5.3 with .NET on Windows 2000. I have been using MQEnvironment.UserId and MQEnvironment.Password to set up authentication for connecting to MQ, but got error "MQEnvironment does not have definition for UserId". I guess MQEnvironment.UserId is only available in WMQ 6.0 but not 5.3. I also tried to set up environment variable MQ_USER_ID and MQ_PASSWORD, still did not work. Can somebody help me how to set up authentication on MQ 5.3 with .NET? Thanks very much for your helps.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Apr 05, 2006 8:58 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You are always authenticated with the user that is running the program, and not with what is put into MQEnvironment.

EXCEPT in Java.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
cynthia
PostPosted: Wed Apr 05, 2006 9:15 am    Post subject: Reply with quote

Newbie

Joined: 05 Apr 2006
Posts: 2

Thanks for your reply. So is there any way to set up authentication programly in .Net?
Thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Apr 05, 2006 9:17 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You have to change what user is running your code. MQ itself does this by using DCOM.

Please go delete the other topic you just started, too. We don't like duplicate posters.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mvic
PostPosted: Wed Apr 05, 2006 9:55 am    Post subject: Re: Set up MQEnvironment "UserID" in WMQ 5.3 using Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

cynthia wrote:
I have been using MQEnvironment.UserId and MQEnvironment.Password to set up authentication for connecting to MQ, but got error "MQEnvironment does not have definition for UserId". I guess MQEnvironment.UserId is only available in WMQ 6.0 but not 5.3. I also tried to set up environment variable MQ_USER_ID and MQ_PASSWORD, still did not work. Can somebody help me how to set up authentication on MQ 5.3 with .NET? Thanks very much for your helps.

Try the URLs here : http://www.mqseries.net/phpBB2/viewtopic.php?p=129473#129473
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Set up MQEnvironment "UserID" in WMQ 5.3 using .NE
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.