TermStore.DeleteTermStoreAdministrator method

Deletes a Term Store Administrator from the TermStore.

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

public void DeleteTermStoreAdministrator(
	string principalName
)

Parameters

principalName
Type: System.String

The login name of the user to be removed as a Term Store Administrator

ExceptionCondition
ArgumentException

The specified user is not a term store administrator.Deletion of this user as a term store administrator failed.

UnauthorizedAccessException

The current user has insufficientpermissions to perform this operation.

Term Store Administrators have the following permissions on the term store:ManageTermStore. The current user must have TaxonomyRights.AddManageTermStorePermissions permission to use this method. Call the CommitAll() method to save this change to the database.

Show: