If you're using the .NET CAS client, the authenticated user will be 
available to the context as an instance of ICasPrincipal:

ICasPrincipal user = context.User as ICasPrincipal;

...which you can then user in what way seems best for the app.

Misagh

> -----Original Message-----
> From: Will Tribbey [mailto:[email protected]]
> Sent: Tuesday, August 6, 2013 6:24 PM
> To: [email protected]
> Subject: [cas-user] I need Enlightenment for CAS .NETClient
>
> Hello Everyone, I realize that this is probably a lowly newbie sort of 
> question,
> but I need to ask it anyway. I come from a purely Java background with no
> experience with .NET apps, but now I find myself needing to CAS enable a
> .NET app.
>
> I believe I can see my way clear to install and configure the .NET. What I 
> have
> a hard time getting into my (sometimes thick) head is how do I pass the 
> user
> id to my application? Do I need to wrote some code using the .NET client 
> to
> do this? When the redirect goes to my application, will the CAS 
> information
> be in the request somewhere?
>
> Thank you kindly,
>
> Will T.
> --
> 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