![MACROMEDIA BREEZE-USING THE BREEZE XML WEB SERVICES Use Manual Download Page 50](http://html1.mh-extra.com/html/macromedia/breeze-using-the-breeze-xml-web-services/breeze-using-the-breeze-xml-web-services_use-manual_3281905050.webp)
50
Chapter 4: Action Reference
group-membership-update
Description
Adds one or more principals to a group, or removes one or more principals from a group.
To update multiple principals and groups, specify multiple trios of
group-id
,
principal-id
,
and
is-member
parameters. For more information, see
“About parameters” on page 15
.
Parameters
accesskey
The access key for your account.
Note:
The
accesskey
parameter is required only in Breeze 4.0; it is not required for Breeze 4.1. If you
include this parameter in Breeze 4.1, it is ignored.
group-id
The ID of the group for which you’re updating the membership.
principal-id
The ID of the principal whose membership status you want to update.
is-member
Indicates whether the principal is added to (
true
) or deleted from (
false
) the
group.
Filters
Results cannot be filtered or sorted.
Returned elements
None.
Sample results
<results>
<status code="ok" />
</results>
login
Description
Logs in a user.
After logging in, you must read and store the cookie called BREEZESESSION, which can be
found in the HTTP headers of the XML results. You must then include that cookie’s value in
every subsequent request that you make as that logged-in user. For more information, see
“About
security” on page 17
.
The following example parses the HTTP headers to store the cookie and then indicates how it
can be passed on for all subsequent requests.
To log in to Breeze and save the session cookie, use the following code:
login="[email protected]"
password="abcdefg"
accesskey="0123456789101112"
baseurl="http://breeze.example.com/"
Summary of Contents for BREEZE-USING THE BREEZE XML WEB SERVICES
Page 1: ...Using the Breeze XML Web Services...
Page 8: ...8 Contents...
Page 12: ...12 Introduction Before You Begin...
Page 26: ...26 Chapter 2 Working with Filters...
Page 36: ...36 Chapter 3 Common Tasks...
Page 112: ...112 Chapter 4 Action Reference...
Page 186: ...186 Chapter 5 XML Results Reference...
Page 196: ...196 Index...