Share via


ISPItemDao.DoesUserHavePermissions method

Determines whether the current user has the specified permissions to the specified object.

Namespace:  Microsoft.PerformancePoint.Scorecards
Assembly:  Microsoft.PerformancePoint.Scorecards.Client (in Microsoft.PerformancePoint.Scorecards.Client.dll)

Syntax

'Declaration
Function DoesUserHavePermissions ( _
    cache As ISPFcoCache, _
    webSiteID As Guid, _
    location As RepositoryLocation, _
    permissions As SPBasePermissions _
) As Boolean
'Usage
Dim instance As ISPItemDao
Dim cache As ISPFcoCache
Dim webSiteID As Guid
Dim location As RepositoryLocation
Dim permissions As SPBasePermissions
Dim returnValue As Boolean

returnValue = instance.DoesUserHavePermissions(cache, _
    webSiteID, location, permissions)
bool DoesUserHavePermissions(
    ISPFcoCache cache,
    Guid webSiteID,
    RepositoryLocation location,
    SPBasePermissions permissions
)

Parameters

  • webSiteID
    Type: System.Guid

    The identifier of the site collection.

Return value

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

See also

Reference

ISPItemDao interface

ISPItemDao members

Microsoft.PerformancePoint.Scorecards namespace