Share via


TermStore.DoesUserHavePermissions method

Verifies whether the current user has the permissions specified in the TermStore object.

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

Syntax

'Declaration
Public Function DoesUserHavePermissions ( _
    rights As TaxonomyRights _
) As Boolean
'Usage
Dim instance As TermStore
Dim rights As TaxonomyRights
Dim returnValue As Boolean

returnValue = instance.DoesUserHavePermissions(rights)
public bool DoesUserHavePermissions(
    TaxonomyRights rights
)

Parameters

Return value

Type: System.Boolean
true if the current user has the specified permissions; otherwise, false

See also

Reference

TermStore class

TermStore members

Microsoft.SharePoint.Taxonomy namespace

TermStoreAdministrators

DoesUserHavePermissions(TaxonomyRights)