如何检查用户是否具有给定pageID的管理员权限 [英] How to check that user has admin rights for given pageID

查看:94
本文介绍了如何检查用户是否具有给定pageID的管理员权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想代表用户的粉丝页面进行事件同步.首先,我确认用户具有给定页面的管理员权限.我是Google,但我不知道如何检查用户是否具有给定页面的管理员权限.

任何人都有想法吗?

I want to Event Syncing on user''s fan pages on their behalfs. For this first I confirmed that user has the admin rights for given page. I Google but I can''t figure out that how I checked that user has the admin rights for given page.

Any one has idea??

推荐答案

如果它是您的网站,则您应该能够查询特定用户的角色.
如果这不是您的网站,并且您没有管理员权限,那么除非在该网站的某个地方公开发布,否则您将不知道其他人是否是管理员.此外,即使您知道他们是管理员,您也将无法做任何事情!
If it''s your site, you should be able to query the role of a particular user.
If it''s not your site and you don''t have admin rights then you cannot know if others are admin or not until unless publically published somewhere on the very site. Further, even though if you know they are admin''s you won''t be able to do anything until you are admin!


这篇关于如何检查用户是否具有给定pageID的管理员权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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