Reference > Shop flow URLs > Member subsystem URLs > Organization


OrganizationSetInSession URL

Switches the current active organization for the user to the specified organization.

Switches the current active organization for the user to the specified organization. The active organization enables a user to be entitled not only to contracts that belong to his/her parent organization but also to any organization where he/she plays the Organization Participant role. The active organization to be switched to must not be locked.

Ensure that the change flow option is enabled, allowing you to change which Organization is set in the session. By enabling the change flow option, your store page allows you to change the Organization.


URL structure

http:// host_name/path/

The fully qualified name of the WebSphere Commerce Server and the configuration path.

Diagram of the URL structure: The URL starts with the fully qualified name of the WebSphere Commerce Server and the configuration path, followed by the URL name, OrganizationSetInSession , and the ? character. End the URL with a list of parameters in the form of name-value pairs. Separate each <a href=name-value pair with the & character. For a detailed description of the parameters and their values, see the list entitled Parameter values." />


Parameter values

activeOrgId

The active organization ID to be switched to. In subsequent requests, contracts from this organization will be applied.

URL

The URL to be called when the command completes successfully. The default value is OrganizationSetInSessionView.

langId

Sets or resets the preferred language for the duration of the session; the supported languages for a store are found in the STORELANG table.

storeId

The reference number of the store to which the user is logging on.


Example 1

This example switches the active organization to 12345 and will forward to the OrganizationSetInSessionView.

https://
host_name/path/OrganizationSetInSession?activeOrgId=12345


Example 2

This example switches the active organization to 12345 and redirect to the specified URL (UserAccountView)

https://
host_name/path/OrganizationSetInSession?activeOrgId=12345&URL=UserAccountView


Behavior


Exception conditions


Related concepts

Member subsystem

Contract terms and conditions

Related reference

OrgEntityAdd URL

OrgEntityUpdate URL

Member subsystem URLs


+

Search Tips   |   Advanced Search