[pmwiki-users] Getting AuthId in a recipe function

The Editor editor at fast.st
Wed Aug 30 22:01:26 CDT 2006

Actually, now that I think about it I may have to use the first
option.  I'm trying to set (:data Group.@:) so it substitutes the @
for the AuthId value.  I have several other shortcuts available that
all work perfectly, so the problem is probably not elsewhere in the

When I use $AuthId it returns a blank (showing the case was
triggered).  Is it because the markup is processed before the page
variables?  (That's the reason I need this shortcut...) Or is there
some global that needs to be declared?  All I have elsewise is

If I must use the first option, and assuming most users authenticate
only one id, how can I retrieve that value?  Using $_SESSION['authid']
returns the word Array.

Any other thoughts?


On 8/30/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> $_SESSION['authid'] is an array -- it's an array of all of the
> ids that the visitor has authenticated.
> But $AuthId ought to work if someone has authenticated -- I'm not sure
> why it's not working.  Of course, if nobody has authenticated, then
> $AuthId is blank.

More information about the pmwiki-users mailing list