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.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®  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

Reply via email to