TermStore.DeleteTermStoreAdministrator(String) Method

Definition

Deletes a Term Store Administrator from the TermStore.

public:
 void DeleteTermStoreAdministrator(System::String ^ principalName);
public void DeleteTermStoreAdministrator (string principalName);
member this.DeleteTermStoreAdministrator : string -> unit
Public Sub DeleteTermStoreAdministrator (principalName As String)

Parameters

principalName
String

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

Exceptions

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

The current user has insufficientpermissions to perform this operation.

Remarks

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.

Applies to