Using event handler in Sharepoint to make any column unique

Hi,

 

Many a times in a Sharepoint list we want to have one of the columns to act as a unique column. But there is no easy way to do it.

 

There are a couple of ways to make this happen,

Continued...


Running Commands with Elevated Privileges in Windows Sharepoint Services 3.0

Hi,

 

Few days back while coding for a webpart in a Sharepoint site, I had to check the roles of all the groups the user was linked to. The code to do it seems to be very simple.

foreach (SPGroup ospGroup in SPContext.Current.Web.CurrentUser.Groups)
{
     foreach (SPRole sr in ospGroup.Roles)
     {
       Continued...

 
Copyright © 2006 - 2012 Vikram Lakhotia