AppDomain.SetThreadPrincipal vs. Thread.CurrentPrincipal

  • Thread starter Thread starter Pradeep
  • Start date Start date
P

Pradeep

All,

If i set the Thread.CurrentPrincipal am i setting the
Principal or on AppDomain? Could someone explain how these
calls are different?
If i want to store and hand over user information from the
http request to the webservice implementation. Where is
the best place to put it? should i store it on
Thread.CurrentPrincipal, AppDomain.SetThreadPrincipal or
ClientContext.SetData.

Thanks for your help.
Pradeep
 
Back
Top