Madhawa Learns To Blog : C#, Java

.net, c#, java,sql, OOAD and more mad memory dumps...

  Home  |   Contact  |   Syndication    |   Login
  47 Posts | 0 Stories | 57 Comments | 15 Trackbacks

News

Archives

Post Categories

Blog Roll

Hang Outs

My old blog

November 2008 Entries

/// <summary> /// Add a user to a Sharepoint group /// </summary> /// <param name="userLoginName">Login name of the user to add</param> /// <param name="userGroupName">Group name to add</param> private void AddUserToAGroup(string userLoginName, string userGroupName) { //Executes this method with Full Control rights even if the user does not otherwise have Full Control SPSecurity.RunWithElevatedP... { //Don't use context to create the spSite object ......

Check these really good articles by James Tsai. Understand SharePoint Permissions - Part 1. SPBasePermissions in Hex, Decimal and Binary - The Basics Understand SharePoint Permissions - Part 2. Check SharePoint user/group permissions with Permissions web service and JavaScript Thanks Suranja for sending me these links ......