Group.GroupManagers Property
Returns the SPAcl indicating the users who are group managers for this Group object.
Namespace: Microsoft.SharePoint.Taxonomy
Assembly: Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)
Syntax
'Declaration
Public ReadOnly Property GroupManagers As SPAcl(Of TaxonomyRights)
Get
'Usage
Dim instance As Group
Dim value As SPAcl(Of TaxonomyRights)
value = instance.GroupManagers
public SPAcl<TaxonomyRights> GroupManagers { get; }
Property Value
Type: Microsoft.SharePoint.Administration.SPAcl<TaxonomyRights>
The SPAcl indicating the users who are group managers for this group.
Exceptions
Exception | Condition |
---|---|
UnauthorizedAccessException | The current user has insufficient permissions to perform this operation. |
Remarks
The SPAcl cannot be set directly.Any permission changes should be made using the AddGroupManager(String) and DeleteGroupManager(String) methods. Group managers themselves, or users who can modify the set of group managers canaccess this property. Specifically, the current user must have TaxonomyRights.ManageTermStore permission or TaxonomyRights.GroupManager permission to access this property.