MACROMEDIA BREEZE 5 Integration Manual page 37

Hide thumbs Also See for BREEZE 5:
Table of Contents

Advertisement

To determine a user's ID, given their login name and password:
Log in as the user.
1.
Call the
2.
common-info
Parse the returned XML to find the value of the
3.
That value is the user's ID.
To check whether an entered password is correct:
Log in as the user.
1.
If the status code returned is
2.
This procedure is the only way to check a password; for security reasons, Breeze doesn't let you
request a user's password from the server.
To list all the courses the user is enrolled in:
Log in as the user.
1.
Call the
2.
report-my-courses
Parse the returned XML and display the results.
3.
For more information about the returned XML, see
Note: The BREEZESESSION cookie must be supplied with this request. For more information, see
"Logging in to Breeze" on page
To list all the meetings the user has signed up to attend:
Log in as the user.
1.
Call the
2.
report-my-meetings
Parse the returned XML and display the results.
3.
For more information about the returned XML, see
To display the contents of the user's content folder:
Log in as the user.
1.
Call the
2.
sco-shortcuts
This API provides the location of the root folder of the current account as well as the locations
of other folders, such as the current user's meetings and other content.
The following code uses the same
code in
"Integrating Breeze with a directory service" on page
<cfhttp url="#baseurl#api/xml?action=sco-shortcuts" method="post">
<cfhttpparam type="Cookie" name="BREEZESESSION" value="#loginCookie#">
</cfhttp>
Determine the ID of the My Content folder by searching for the appropriate
3.
the returned
tags:
sco
<cfset response= cfhttp.FileContent >
<cfset xml= XmlParse(response)>
<cfset contentScoElement= XmlSearch(xml, "//sco[@type='my-content']")>
<cfset contentSco= contentScoElement[1].XmlAttributes["sco-id"]>
API.
, the password is correct.
ok
API.
29.
API.
API.
and
baseurl
attribute of the
user-id
on page
my-courses
on page
my-meetings
variables that are set in the login
loginCookie
33:
Integrating Breeze with a portal
tag.
user
170.
171.
attribute in
type
37

Advertisement

Table of Contents
loading

Table of Contents