<font size=2 face="sans-serif">I have an LDAP server authenticating my
users. The look up returns a ton of fields in a hash. My questions are
as follows:</font>
<br>
<br><font size=2 face="sans-serif">1. What happens to this data/information?
Is it stored in the $c-&gt;user object?</font>
<br>
<br><font size=2 face="sans-serif">2. If it is, how do I access it? </font>
<br>
<br><font size=2 face="sans-serif">3. Is there a simple way to look at
what is stored in the user object?</font>
<br>
<br><font size=2 face="sans-serif">4. I would like to store the users role
in the session object so it can be accessed for authorization purposes.
The docs only have an example of storing stuff in a shopping cart, which
is a bit more than I need, but there isn't enough there for me to figure
out how to store just one thing, and retrieve it, of course. Can someone
show me how to do this?</font>
<br>
<br><font size=2 face="sans-serif">Here is a sample of what comes back
from the ldap lookup:</font>
<br>
<br><font size=2 face="sans-serif">SEQUENCE {</font>
<br><font size=2 face="sans-serif">051D &nbsp; 11: &nbsp; &nbsp; &nbsp;
&nbsp; STRING = 'hrFirstName'</font>
<br><font size=2 face="sans-serif">052A &nbsp; &nbsp;9: &nbsp; &nbsp; &nbsp;
&nbsp; SET {</font>
<br><font size=2 face="sans-serif">0530 &nbsp; &nbsp;7: &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; STRING = 'KENNETH'</font>
<br><font size=2 face="sans-serif">0539 &nbsp; &nbsp; : &nbsp; &nbsp; &nbsp;
&nbsp; }</font>
<br><font size=2 face="sans-serif">0539 &nbsp; &nbsp; : &nbsp; &nbsp; &nbsp;
}</font>
<br>
<br><font size=2 face="sans-serif">I would like to use this as a greeting
string in my site wrapper, but I'm not sure how to reference it, or if
it is even in the object.<br>
</font>
<br>