Hooking to Pier Security
Sean Allen
sean at monkeysnatchbanana.com
Wed Oct 22 18:30:40 MEST 2008
On Oct 22, 2008, at 12:20 PM, Lukas Renggli wrote:
>>> The currently logged user is in PRContext.
>>>
>>> You can get the current context from anywhere using PRCurrentContext
>>> value.
>>
>> Ah,
>>
>> Let me make sure I have this right..
>>
>> for a PRContext user will get me the current user ( PUUser
>> instance )
>> which gets me name.
>>
>> I have that correct?
>
> Yes, have a look at the accessors in PRContext.
>
Did. Just wanted to make sure I had it correct. Learning Pier is a bit
of a
struggle at first but I'm starting to get some things slowly. I look
forward to the moment of
revelation when it comes.
Thanks Lukas.
-Sean
More information about the smallwiki
mailing list