Partilhar via


TermSetItem.DoesUserHavePermissions Method

Verifies whether the current user has the permissions specified.

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 TermSetItem
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

Remarks

Term and TermSet permissions are set on the parent Group

See Also

Reference

TermSetItem Class

TermSetItem Members

Microsoft.SharePoint.Taxonomy Namespace

DoesUserHavePermissions(TaxonomyRights)