Group.ClearSiteCollectionReadOnlyAccess method

Removes all site collection read-only access to this local site collection group.

Namespace:  Microsoft.SharePoint.Taxonomy
Assembly:  Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)

Syntax

'Declaration
Public Sub ClearSiteCollectionReadOnlyAccess
'Usage
Dim instance As Group

instance.ClearSiteCollectionReadOnlyAccess()
public void ClearSiteCollectionReadOnlyAccess()

Exceptions

Exception Condition
System.UnauthorizedAccessException

The current user has insufficient permissions to perform this operation. The current user must have the ManageTermStore permission or the TaxonomyRights.GroupManager permission in order to use this method.

System.InvalidOperationException

The group is not a site collection group.

Remarks

CommitAll() must be called in order to save this change to the database.

See also

Reference

Group class

Group members

Microsoft.SharePoint.Taxonomy namespace