[Portfolio] getting current user's userId

Ackerman, Erica ericaack at umich.edu
Thu May 12 08:31:38 PDT 2011

It sounds like what you are looking for is present in the metadata of each form and viewed portfolio. In forms you want:

/formView/formData/artifact/metadata/repositoryNode/owner/id or eid

In a completed portfolio, you are looking for:

/ospiPresentation//artifact/metadata/repositoryNode/owner/id or eid

In a completed portfolio, the metadata will be available for each artifact, rather than once for the portfolio as a whole.

Let me know if you are really looking for something else.


-----Original Message-----
From: portfolio-bounces at collab.sakaiproject.org [mailto:portfolio-bounces at collab.sakaiproject.org] On Behalf Of David McPherson
Sent: Thursday, May 12, 2011 11:23 AM
To: portfolio at collab.sakaiproject.org
Subject: [Portfolio] getting current user's userId

Hi All,

I'm attempting to develop a new gallery rendering page and I find that I need to be able to access the current user's my workspace.  I think I can do this if I can know their user id.  Does any one know of a way to get this without having to ask the user for their id?

David McPherson
Assistant Director, ePortfolio Initiatives
2210A Torgersen Hall
Learning Technologies
dmcphers at vt.edu

portfolio mailing list
portfolio at collab.sakaiproject.org

TO UNSUBSCRIBE: send email to portfolio-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"

More information about the portfolio mailing list