This might also serve as a reference example: https://github.com/UniconLabs/cas-sample-dotnet-webapp
From: Scott [mailto:scottt...@gmail.com] Sent: Wednesday, April 15, 2015 11:45 AM To: cas-user@lists.jasig.org Subject: Re: [cas-user] Retrieving username in .NET after authentication if (User.Identity.IsAuthenticated) { username = User.Identity.Name <http://User.Identity.Name> ; } On Wed, Apr 15, 2015 at 9:33 AM, Adam Causey <apcau...@vcu.edu <mailto:apcau...@vcu.edu> > 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 cas-user@lists.jasig.org <mailto:cas-user@lists.jasig.org> as: scottt...@gmail.com <mailto:scottt...@gmail.com> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to cas-user@lists.jasig.org <mailto:cas-user@lists.jasig.org> as: mmoay...@unicon.net <mailto:mmoay...@unicon.net> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to cas-user@lists.jasig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user