User Context in MOSS
When we open a MOSS site in IE with ‘Run As’ option and log in with an ID/Password other than ‘Windows Logon’, the identity of new ID/Password is persistent.
Puneet and I were working on a MOSS portal where we found an interesting thing:
SiteCollection.RootWeb.DoesUserHavePermission(SPRights) and
SiteCollection.RootWeb.Permissions.DoesUserHavePermission(SPRights)
The first one provides rights of new ID/Password and the second one provides rights of ‘Windows User’
- Hemant Kumar