문제

빠른 실행에 나타나는 그룹 이외의 사이트의 연결 그룹 컬렉션 (또는 해당 속성 가방 항목)에 SPGroup을 추가하기위한 목적을 이해하는 데 어려움을 겪고 있습니다.

이 혼란은 관련 [방문자 | 멤버 | 소유자] 그룹 속성에 적용되지 않습니다.그것들은 분명합니다.

다른 목적이있는 경우, 관련 그룹이 제공하는 경우는 무엇입니까?상속을 끊을 때 사이트 수준에서 역할을 정의하는 또 다른 방법입니까?

고맙습니다.

도움이 되었습니까?

해결책

Groups return all groups which have security roles assigned to the current site.

AssociatedGroups return all groups visible in the left menu of the People and Group page. Those groups may not have access to the current site (if the security settings do not inherit from parent site). In this case, some of them will not be listed in the Groups property.

To view the difference, in a subsite, create a new group without giving any permission. The group will be visible in the AssociatedGroups and Left menu, but will not be listed in Groups or Site Permissions page.

Reference: The accepted answer on the question SPWeb.Groups vs. SPWeb.AssociatedGroups

다른 팁

...in addition to Benny's - the associated groups are also used to "link" a sub-site security to a certain SP-group. That is also because groups, as permissions levels as ONLY stored at the site collection level.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top