ĐÀO TẠO DOANH NGHIỆP : SỞ KHOA HỌC CÔNG NGHỆ TỈNH ĐỒNG NAI

ENTERPRISE TRAINING: DONG NAI DEPARTMENT OF SCIENCE AND TECHNOLOGY.

HÌNH ẢNH TẬP HUẤN LỚP SHAREPOINT WORKFLOW VÀ KIẾN TRÚC SHAREPOINT

PHOTOS OF SHAREPOINT WORKFLOW AND ARCHITECTURE CLASS.

HÌNH ẢNH TẬP HUẤN LỚP SHAREPOINT WORKFLOW VÀ KIẾN TRÚC SHAREPOINT

PHOTOS OF SHAREPOINT WORKFLOW AND ARCHITECTURE CLASS.

Thursday, May 2, 2013

Sharepoint 2010 User Permissions


1.1.1     Create permission level

1.     Go to site collection >> Site Actions >> Site Permissions

2.     Click to Permission Levels

3.     Click to Add a Permission Level

4.     Name: Add Items. Grant permission is Add Items (consider set permission to List or Library again)

5.     Continue create more permission levels “Edit Items” by code

6.     Code to create permission level

7.     Result as:

1.1.2     Create Group

1.     Back to home page >> Site Actions >> Site Settings

2.     Click to People and groups

3.     Click More, then click new >> New Group

4.     Input group name: Honda – Add items, Choose the permission level group members get on this site is Add items

5.     Continue create new group: Honda – Edit items, Choose the permission level group members get on this site is Edit items by code

6.     Code to create new group and assignment of the roles to the group.

7.     Continue create new group: Honda – Payment Online, Choose the permission level group members get on this site is View Only

8.     These group was created

1.1.3     Add Users to group

1.     Click to Honda – Add Items group then click New >> Add Users

2.     Continue add user to group Honda – Edit Items by code

3.     Continue add user to Honda – Payment Online group by code

4.     Code to add user to group

5.     User was added to group

1.1.4     Permission on List or Library

1.     As default sharepoint account existing in three groups (View, Add, and Edit) and it is inherited permissions, so it has View, Add, and Edit permission. Now I want sharepoint account has view and edit item on Provinces list. Click to Provinces >> on ribbon click to List >> List Permission

2.     Click to Stop Inheriting Permissions

3.     Choose Honda – Add Items group >> click Remove User Permissions

4.     Continue i want sharepoint account has view and Add item on Employees list. Click to Employees >> on ribbon click to List >> List Permission

5.     Click to Stop Inheriting Permissions

6.     Choose Honda – Edit Items group >> click Remove User Permissions

7.     Login with sharepoint Account, on Provinces list sharepoint only have View and Edit permissions

8.     Try access to NewForm.aspx

9.     You can not add new item with access denied

10.  On Employees list sharepoint only have View and Add permissions

11.  Try access to EditForm.aspx

12.  You can not Edit item with access denied

1.1.5     Permission on List – Library and features programmatically

1.     Go to Site Actions >> Site Settings >> People and Groups >> click to Honda – Payment Online group then remove user in this group

2.     On web part we will see permission of sharepoint account

3.     Code here

4.     Login by sharepoint account, it don’t have permission Add Provinces, so Add Provinces button isn’t Enable

5.     Code here

6.     You try Add new Provinces by another button

7.     You can not add new item with access denied

8.     Code here

9.     Login by sharepoint account, it don’t have permission Edit Employees, so Edit Employees button isn’t Enable

10.  Code here

11.  You try Edit Employees by another button

12.  You can not add new item with access denied

13.  Code here
Download code at here