SPFile file = SPContext.Current.Web.GetFile(relativeUrl); if (file != null) { file.Item.DoesUserHavePermissions(SPContext.Current.Web.CurrentUser, SPBasePermissions.OpenItems); }
No comments:
Post a Comment