TermSet.IsOpenForTermCreation property
Indicates whether the TermSet can be updated by all users, or alternatively just by the specified constributors for the TermGroup object.
Namespace: Microsoft.SharePoint.Client.Taxonomy
Assembly: Microsoft.SharePoint.Client.Taxonomy (in Microsoft.SharePoint.Client.Taxonomy.dll)
Syntax
'Declaration
Public Property IsOpenForTermCreation As Boolean
Get
Set
'Usage
Dim instance As TermSet
Dim value As Boolean
value = instance.IsOpenForTermCreation
instance.IsOpenForTermCreation = value
public bool IsOpenForTermCreation { get; set; }
Property value
Type: System.Boolean
Returns Boolean.
Exceptions
Exception | Condition |
---|---|
UnauthorizedAccessException | The current user has insufficient permissions to perform this operation. |
TermStoreOperationException | Modifying tagging related properties of the Orphaned terms TermSet is disallowed. |
TermStoreOperationException | This operation is invalid in the Orphaned terms TermSet. The operation failed. |
Remarks
A true value indicates that all users can add terms to the current TermSet. A value of false indicates that only contributors assigned to the Group can add terms to the current TermSet. The current user must have TaxonomyRights.Edit permission to set this property. Call the CommitAll() method to save this change to the database.