25. August 2009 06:29
Tried to create a column in my list called "UniqueId" today.
The column creates just fine, and works within the UI. However, if you try to programtically update the value SPListItem["UniqueId"] -- You'll quickly get an error.
This is because SharePoint realized that UniqueId was actually already in-use by the system, and named your column something like UniqueId1.
To find out what your actual field is named, go to edit your column and look at the end of the URL in the address bar. You should see your field name there.
21. August 2009 19:50
Lately I've been doing quite a bit of work with custom authorization scenarios in SharePoint, using the Microsoft Geneva framework for claims based security. This means custom membership and role providers which are relatively complicated.
Understanding how SharePoint uses your role provider is critical to designing and debugging even a modestly complicated security scenario. I've put together a flow-chart which hopefully helps explain when identities are created, what methods SharePoint calls, and just generally how your custom providers are used.
This is a work in progress, and I will include how membership providers are leveraged during assigning of permissions at a later date.
Click the image to see it full size.