Authentication (IIdentity) vs. Authorization (IPrincipal). --MB
> -----Original Message----- > From: Discussion of advanced .NET topics. [mailto:ADVANCED- > [EMAIL PROTECTED] On Behalf Of Miika Mäkinen > Sent: Tuesday, December 11, 2007 10:30 PM > To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM > Subject: Re: [ADVANCED-DOTNET] IPrincipal and IIdentity > > Thanks Brandon... This text in MSDN is the reason why I was asking... > to me > very cryptic explanations! > > On Dec 11, 2007 10:34 PM, Brandon Willoughby <[EMAIL PROTECTED]> > wrote: > > > Taken from the MSDN: > > > > IIdentity: > > > > An identity object represents the user on whose behalf the code is > > running. > > > > IPrinciple: > > > > A principal object represents the security context of the user on > whose > > behalf the code is running, including that user's identity > (IIdentity) > > and any roles to which they belong. > > > > > > http://msdn2.microsoft.com/en- > us/library/system.security.principal.iidentity(VS.80).aspx<http://msdn2 > .microsoft.com/en- > us/library/system.security.principal.iidentity%28VS.80%29.aspx> > > > > http://msdn2.microsoft.com/en- > us/library/system.security.principal.iprincipal.aspx > > > > Brandon W > > > > Miika Mäkinen wrote: > > > Hi all, > > > I'm having hard time understanding what is the purpose of > IPrincipal and > > > IIdentity. Why are these 2 separate interfaces? To me it just > > complicates > > > matters... Does anybody know of a good article explaining... > > > > > > > > > Cheers, > > > Miika > > > > > > =================================== > > > This list is hosted by DevelopMentor(R) http://www.develop.com > > > > > > View archives and manage your subscription(s) at > > http://discuss.develop.com > > > > =================================== > > This list is hosted by DevelopMentor(R) http://www.develop.com > > > > View archives and manage your subscription(s) at > > http://discuss.develop.com > > > > =================================== > This list is hosted by DevelopMentor® http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com