Discussion:
Org Id from command context
(too old to reply)
p***@yahoo.com
2006-12-02 14:48:21 UTC
Permalink
I need to pass the user's org id which he belongs to.
I need to pass this to the finder i created.
How can I get the current user's Org id from context.
s***@gmail.com
2006-12-05 02:38:36 UTC
Permalink
Paul,

How about:
commandContext.getUser().getParentMemberId()

Thanks and best regards.

Sabrang
Post by p***@yahoo.com
I need to pass the user's org id which he belongs to.
I need to pass this to the finder i created.
How can I get the current user's Org id from context.
m***@ca.ibm.com
2006-12-11 13:09:57 UTC
Permalink
not sure, but this may help

http://publib.boulder.ibm.com/infocenter/wchelp/v6r0m0/topic/com.ibm.commerce.api.doc/com/ibm/commerce/user/beans/UserRegistrationDataBean.html
Loading...