Sharepoint 2010:基于当前用户判断访问列表项目的权限 --Determine access to SPListItem based on a Current User

In that case you could check / ensure permissions on a certain list item with the method DoesUserHavePermissions:

SPListItem
item =//...
if(item.DoesUserHavePermissions(SPContext.Current.Web.CurrentUser,SPBasePermissions.ViewListItems))
{
 
// futher actions if user has permission goes here.
}

你可能感兴趣的:(SharePoint)