session.objectStore.user.isAdmin

Careful though.  Don't terminate your session or object keypaths on an EO.  If 
you just want to check for the existence of an EO, then you can do

session.objectStore.user.isNonNull

Ramsey

On Jan 12, 2012, at 11:04 AM, James Cicenia wrote:

> Hello 
> 
> How can I make up a rule to return a session dictionary's value based upon 
> the key?
> 
> Thanks
> James
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/ramseygurley%40gmail.com
> 
> This email sent to [email protected]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to