Share via


TermStore.TermStoreAdministrators Property

Returns the SPAcl indicating the users who are Term Store Administrators for this TermStore object.

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

Syntax

'Declaration
Public ReadOnly Property TermStoreAdministrators As SPAcl(Of TaxonomyRights)
    Get
'Usage
Dim instance As TermStore
Dim value As SPAcl(Of TaxonomyRights)

value = instance.TermStoreAdministrators
public SPAcl<TaxonomyRights> TermStoreAdministrators { get; }

Property Value

Type: Microsoft.SharePoint.Administration.SPAcl<TaxonomyRights>
The SPAcl indicating the users who are Term Store Administrators for this TermStore object,

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 AddTermStoreAdministrator(String)and DeleteTermStoreAdministrator(String) methods.Term Store Administrators themselves, or users who can modify the set of term store administrators can access this property. Specifically, the current user must have TaxonomyRights.AddManageTermStorePermissions permission or TaxonomyRights.TermStoreAdministrator permission in order to access this property.

See Also

Reference

TermStore Class

TermStore Members

Microsoft.SharePoint.Taxonomy Namespace

AddTermStoreAdministrator(String)

DeleteTermStoreAdministrator(String)

TaxonomyRights