if (User.Identity.IsAuthenticated) { username = User.Identity.Name; }

On Wed, Apr 15, 2015 at 9:33 AM, Adam Causey <[email protected]> wrote:

> There's a developer here using the .NET client for CAS authentication, and
> they'd like to read the username of who logged in from the Session.  I'm
> sure it's easy, but I'm not a .NET developer.  Could someone share a code
> sample of how this is done?  I can't seem to find one.
>
> Thanks!
>
> -Adam
>
> --
> You are currently subscribed to [email protected] as: 
> [email protected]
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to