想要登录当前站点中可用的用户组,而不是从网站集级别登录 [英] Want logged in User Group which are available in current site only not from site collection level

查看:53
本文介绍了想要登录当前站点中可用的用户组,而不是从网站集级别登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我使用下面的代码来获取所有登录用户组,但是它还会记录网站集级别的所有组,但是我我在一个网站上,我想得到所有组的 我的网站不是网站集合。

I am using below code for getting all groups of logged in user, But it fecthing all groups which are also present at site collection level, But i am on a site and i want to get all groups of  my site only not site collection groups.

请在我的代码中建议我实现此目的

Kindly suggest me in my code to achieve this 

Shiv Sharma

Shiv Sharma

推荐答案

这些组仅在网站集级别。

The groups are only in the site collection level.

因此,您只需指定有效组中的用户即可登录。

So you can just specify the users in valid group to log in.


这篇关于想要登录当前站点中可用的用户组,而不是从网站集级别登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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