无法获取具有特殊字符的文档库的权限 [英] Not able to fetch permissions for document library with special characters

查看:108
本文介绍了无法获取具有特殊字符的文档库的权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 


我们正在使用以下api获取文档库的权限


问题是我们的网站集合名称以及文档库
名称包含特殊字符,我们无法获取权限


示例网址: 


https:// xxx.sharepoint.com /位点/ sitewithspecial @ $ ^&安培;!()-_ = [] {};! '字符[] {} / _ AP​​I /网络/列表/ getbytitle(' 特殊@ $ ^&()-_ = [] {};',character []')/ RoleAssignments?$ expand = Member / Users,RoleDefinitionBindings



请帮助我们。



谢谢,


Jaydeep


解决方案

< blockquote>

你好Jaydeep,


如果网站名称是"sitewithspecial!@


^&() - _ = [] {};',character [] {}",请使用以下REST URI:


https://xxx.sharepoint.com/sites/sitewithspecial!@


%5E及()-_ = []%7B%7D;! '字符[]%7B%7D / _api /网络/列表/ getbytitle(' 特殊@

Hi , 

We are fetching permissions of Document library using below api

The problem is our site collection name as well as document library name contains special characters and we are not able to fetch the permissions

Sample URL: 

https://xxx.sharepoint.com/sites/sitewithspecial!@$^&()-_=[]{};',character[]{}/_api/web/lists/getbytitle('special!@$^&()-_=[]{};',character[]')/RoleAssignments?$expand=Member/Users,RoleDefinitionBindings

Please help us out here.

Thanks,

Jaydeep

解决方案

Hi Jaydeep,

If the site name is "sitewithspecial!@


^&()-_=[]{};',character[]{}", please use the following REST URI:

https://xxx.sharepoint.com/sites/sitewithspecial!@


%5E&()-_=[]%7B%7D;',character[]%7B%7D/_api/web/lists/getbytitle('special!@


这篇关于无法获取具有特殊字符的文档库的权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆