SharePoint中取得ACL和組中使用者數量,sharepointacl

來源:互聯網
上載者:User

SharePoint中取得ACL和組中使用者數量,sharepointacl

                 SharePoint中取得ACL和組中使用者數量


1. 取得ACL的數量:

select COUNT(ra.PrincipalId) as [Count],p.ScopeUrl
from [WSS_Content_80].[dbo].[RoleAssignment] ra with(nolock)
join [WSS_Content_80].[dbo].[Perms] p with(nolock) on p.SiteId = ra.SiteId and p.ScopeId = ra.ScopeId
group by p.ScopeUrl
order by [Count] desc


2. 取得組中使用者的數量:

select COUNT(m.MemberId) as [Count], g.Title as [Group-Title]
from [WSS_Content_80].[dbo].[GroupMembership] m with(nolock)
join [WSS_Content_80].[dbo].[Groups] g with(nolock) on m.GroupId = g.ID and m.SiteId = g.SiteId
group by g.Title

order by [Count] desc


在Sharepoint2010中Sharepoint使用者組中添加了AD安全性群組許可權不可以控制

這個確實是sharepoint和ad緩衝的問題,我記得sharepoint裡有一個和ad同步的services,把那個service開啟後,設定自動已耗用時間,運行後就可以了。我以前也遇到過這個問題,我們給客戶設定的是一天運行一次這個services,一天的時間一般的客戶都是可以接受的。
 
sharepoint裡什是域組,他與使用者組有什不同?

域組在sharepoint裡可以看成一個使用者,只是在域組裡的使用者都有域組在SharePoint的許可權,
域組可以加到sharepoint使用者組裡,在開發層面在可以判斷使用者在使用者組裡,但無法判斷使用者在使用者組裡的域組裡。
 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.