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 » C# + WebSphere MQ 6.0

Post new topic  Reply to topic
 C# + WebSphere MQ 6.0 « View previous topic :: View next topic » 
Author Message
Dj_Spacer
PostPosted: Wed Feb 06, 2008 3:48 am    Post subject: C# + WebSphere MQ 6.0 Reply with quote

Novice

Joined: 24 Dec 2007
Posts: 10
Location: RUSSIA,MOSCOW

We have following problem :
our program on C# need to use login to MQ different from the system one.
We tried to use managed client mode but it takes system user name instead of MQEnvironment.UserId

(we enable managed mode by
MQEnvironment.properties.Add(MQC.TRANSPORT_PROPERTY,MQC.TRANSPORT_MQSERIES_MANAGED); )
We tried to start our program on computer without MQ client to be sure that Managed mode is working.
Yes it works but takes system user name instead of MQEnvironment.UserId.

Anybody can help ?
_________________
Еxcuse me my English is not good.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Feb 06, 2008 3:51 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Make your userid part of an authorized group on the MQServer...


_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Wed Feb 06, 2008 3:53 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Or put an MCAUSER on the channel.

It's not clear to me if this is working as designed or not. I don't know if Managed Client Connections are supposed to allow you to override the system user or not.

I know regular client connections are not supposed to let you do this. So this is working the same as the regular client - but again, I don't know if this is by design or not.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Dj_Spacer
PostPosted: Wed Feb 06, 2008 4:14 am    Post subject: Reply with quote

Novice

Joined: 24 Dec 2007
Posts: 10
Location: RUSSIA,MOSCOW

jefflowrey wrote:
Or put an MCAUSER on the channel.

It's not clear to me if this is working as designed or not. I don't know if Managed Client Connections are supposed to allow you to override the system user or not.

I know regular client connections are not supposed to let you do this. So this is working the same as the regular client - but again, I don't know if this is by design or not.


In .net mq api there are properties -
MQEnvironment.UserId and
MQEnvironment.Password

How we can use them ?
I thought that managed connection should use them instead of system user login. Is this true ? If not, Is there any way to override system user ?
_________________
Еxcuse me my English is not good.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Feb 06, 2008 4:18 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

jefflowrey wrote:
It's not clear to me if this is working as designed or not. I don't know if Managed Client Connections are supposed to allow you to override the system user or not.

I know regular client connections are not supposed to let you do this. So this is working the same as the regular client - but again, I don't know if this is by design or not.

_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » C# + WebSphere MQ 6.0
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.