When you log a user in (<ADMINISTRATION action="login">), the RQL response 
lists the available modules. It also has a LASTMODULES node which lists all of 
the projects. The LASTMODULES/MODULE node that has a last="1" attribute is the 
last project.
 
Chad Killingsworth
Assistant Director of Web & New Media
Missouri State University

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Wayne Bouwmeester
Sent: Wednesday, July 07, 2010 4:40 PM
To: RedDot CMS Users
Subject: RQL for User's last project

Does anyone know how I can get use RQL to get the GUID of the last
project a user was in, having only the user's login GUID.
Assume they are logged in, but they haven't selected a project yet.
I want to default the project dropdown with the last project.
It's a .net app, not called from RedDot, so no session variables to
pick from.

You can get this information if you login via:
<ADMINISTRATION action="login" name="user_name" password="pw"/>
Then you get the info in a project node, but if you login through the
web service, you only get the login GUID back, with no other
information. (I'd like to keep within the convention of using the web
service to login)
Any help would be appreciated.
Thanks!
Wayne.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.

Reply via email to