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.
>
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 bel
Seeing that the only method in IPrincipal is bool IsInRole(string role), one
could have made it always return false
when not linked to a role provider ... I too was a bit confused by that at
the first time.
Sébastien
On 12/10/07, Marc Brooks <[EMAIL PROTECTED]> wrote:
>
> Simply put, IIdentity is