You may find yourself in a scenario where Active Directory isn't available across your entire solution scope. For example, if you have a solution that perhaps starts out in SharePoint, but then has to go fetch data or other resources from some repository that isn't secured by the same Active Directory you logged in with…
Year: 2010
Calling a Claims-Aware WCF Service From a SharePoint 2010 Claims Site
I’ve been doing some work lately (that will be fodder for future posts) on more of the end-to-end integration story with SharePoint and other applications, and using claims authentication to flow identity across application boundaries. One of the specific points I’ve been working on lately is being able to make a call to a claims…
List Throttling and Recycle Bin in SharePoint 2010
Hey all, I was just told today about an interesting wrinkle on a new feature in SharePoint 2010. As I've blogged about here before, large list throttling is a new feature that's designed to limit the impact of large lists on the health of a SharePoint farm. By default it restricts you from "impacting" more…
Using Custom Claims in Web Application Policies in SharePoint 2010
Had kind of an interesting question that someone just asked me so I thought I would share the results here with everyone. The question was whether you could take a custom claim that is provided by augmentation via a custom claims provider, and use it as part of a web application policy that you create…
Find Out Who’s Following You with SharePoint 2010 Social Features
One of the things I’ve wondered about off and on is how to find out who is following a certain person using the new social features of SharePoint 2010. For example, when I go to the My Site of somebody I can click on the Colleagues tab and I can see all of the people…
Finding Which Crawled Property Data Types Match a Managed Property Data Type in SharePoint 2010
Not sure how often this will come up, but it was something that took me a while to track down so I thought I'd share here. Suppose you are working with a ManagedProperty in SharePoint search, and you want to look at mapping it to a crawled property. Now a managed property usually just has…
Free Developer Search Tool for SharePoint 2010 Search and FAST Search for SharePoint
I've been working on a developer tool off and on for months now to help working with the query engine in SharePoint 2010. It's come far enough along that it's probably ready for some folks to start using it. I've been debating about putting it up on CodePlex as more of a community project so others…
Using PowerShell for SharePoint 2010 in C#
A buddy of mine at Microsoft was good enough to point me to this video on channel 9 that talks about using PowerShell from your C# code without doing the dreaded process and spawn routine we've probably all used before. To begin with, watch the 4 minute video at https://channel9.msdn.com/posts/bruceky/How-to-Embedding-PowerShell-Within-a-C-Application/. Once you get the basic…
Setting the Login Token Expiration Correctly for SharePoint 2010 SAML Claims Users
As I was working on understanding the process for expiring login cookies recently, I found what seemed like a pretty big problem. For SAML claims users, once they got their login cookie from ADFS, they would never seem to time out. Meaning they could close the browser, and several minutes or even hours later…
Knowing How the Sandbox Changes the Object Model in SharePoint 2010
I ran across a weird little problem last week and thought I would share the resolution. I have a feeling this may be blogged about / documented somewhere and if so then I guess this is just more fuel for the fire. I was working on a sandbox solution and in particular one of the…