Archive for June, 2012

Introduction: In this article I will describe that how to add Share point user to share point group programmatically. This will use below terms:- 1. AllowUnsafeUpdates: Before we update we will set AllowUnsafeUpdates to true. 2. SPGroup: We will create object sharepoint group in which we need to user. 3. AddUser: SPGroup.AddUser will add user […]

Introduction In this article I will describe that how to create Sharepoint group, permission and assign permission to group programmatically using feature. This will use below terms:- 1. SPGroup: We wll create sharepoint group. 2. RoleDefinition: We will create custom permission. 3. RoleAssignment: Assign custom permission to group.

Introduction: Sometimes you will have a feature which you activate on a sub site where you want to change the “Welcome Page” or landing page to be a custom one. Here is a sample on how you can change default.aspx to be a new page like welcome.aspx or home.aspx etc that you have just created.

Introduction: In this article I will describe that how to pass web part properties into user control. To do so I will take base of my below article where I explained that how to create user control, load it using webpart and deploy using feature. http://sharepoint.infoyen.com/2012/04/11/create-and-deploy-user-control-in-sharepoint-using-feature/