다음을 통해 공유


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