Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/kubernetes/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sharepoint 2007 Sharepoint访问被拒绝页面-重定向URL_Sharepoint 2007 - Fatal编程技术网

Sharepoint 2007 Sharepoint访问被拒绝页面-重定向URL

Sharepoint 2007 Sharepoint访问被拒绝页面-重定向URL,sharepoint-2007,Sharepoint 2007,我想向accessdenied页面添加一些自定义功能。 所以我想找出用户被重定向到AccessDenied页面的位置。 我可以用下面的方法找到网站 Guid siteId=SPContext.Current.Site.ID; Guid webId=SPContext.Current.Web.ID 现在我想找出所有列表级别以及文件夹级别的用户重定向位置 我试图使用下面的陈述。 字符串URL=HttpContext.Current.Request.UrlReferer.Query list=web.

我想向accessdenied页面添加一些自定义功能。 所以我想找出用户被重定向到AccessDenied页面的位置。 我可以用下面的方法找到网站

Guid siteId=SPContext.Current.Site.ID; Guid webId=SPContext.Current.Web.ID

现在我想找出所有列表级别以及文件夹级别的用户重定向位置

我试图使用下面的陈述。 字符串URL=HttpContext.Current.Request.UrlReferer.Query
list=web.GetList(URL); 但是我得到一个错误,因为URL没有正确格式化。 下面是我为URL接收的字符串值

http%3A%2F%2Flocalhost%2FPDF%2FForms%2Appx%3fRotFolder%3D%252fPDF%252fSample%26FolderCTID%3D%26View%3D%257b84DFEB5F%252d1F81%252d433A%252dB11C%252d007D1BCB3C8C%257d

从上面的url如何找到列表和文件夹值

谢谢,
苏丹

查看以下解决方案: