Skip to content

mxm, IT's mad science

Sections
Personal tools
You are here: Home » Products » Open Source » Default Member Contents script » You can get the id of the context
Downloads
You can download mxm products here.

Due to it's technical and international nature, this section is in english.

Max M Has a blog too.

og er glad for mad

 

Comment

Above in this comment thread: Default Contents To New Plone Member Folders » Get User ID?

You can get the id of the context

Posted by maxm at 2005-04-20 02:26 PM
memberId = context.getId()

The context is the member folder. And the member folder allways has the same id as the member. I am not shure if that is allways true though. Its an assumption that is a bit unddocumented.

But it has yet to fail me.