Samples > Sample stores > Consumer direct sample store > IBM Gift Center for the Consumer direct sample store > IBM Gift Center > Customize the Web (presentation) layer > IBM Gift Center actions


GiftRegistryLogoff action

This action removes any authentication that a user has for a gift registry. If a value is provided for the externalId parameter, the action removes the authentication authority for the specified gift registry only; otherwise, the action removes the user's authentication for all gift registries in the current gift registry context.


URL structure

http://host/path/

The fully qualified name of the WebSphere Commerce Server and the configuration path (for example, wcserver.mydomain.ibm.com is fully qualified).
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, , 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

URL

Required: The URL to be called when the action completes successfully.

externalId

Required: The unique gift registry identifier.

errorViewName

Overrides the error view when an error occurs.


Example

The following example logs off a user who previously updated gift registry 888.

http://myhostname/webapp/wcs/stores/servlet/GiftRegistryLogoff?URL=/webapp/wcs
/stores/servlet/&externalId=888


Behavior


Exception conditions


Related concepts

IBM Gift Center architecture

Related reference

IBM Gift Center actions

Overview of customizing IBM Gift Center


+

Search Tips   |   Advanced Search