How to: Create and Edit a Organization Profile Property?

Maintaining Organization Profile in SharePoint profile store is a new feature of SharePoint 2010.  Original sample of creating/editing user profile property can be found here. Here is a sample to create/edit a org profile property.     // Code example adds a new organization property called Industry Focus     using (SPSite site = new SPSite(“http://servername”))    …


How to reset Sharepoint 2010 security token cache duration?

In case of claim based authentication, once an user is authenticated by SharePoint 2010 the security token cache is cached by default for 10 hours. However you can change the cache duration by using below powershell script.   1. Get the security token cache config.   $stsc=Get-SPSecurityTokenServiceConfig   2. Set the new expiration window.  …