SPIisWebServiceApplication.CheckAccess method

Determines whether the current user has the specified access rights for the service application.

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

Syntax

'Declaration
Protected Overridable Function CheckAccess ( _
    rights As SPIisWebServiceApplicationRights _
) As Boolean
'Usage
Dim rights As SPIisWebServiceApplicationRights
Dim returnValue As Boolean

returnValue = Me.CheckAccess(rights)
protected virtual bool CheckAccess(
    SPIisWebServiceApplicationRights rights
)

Parameters

Return value

Type: System.Boolean
true if the current user has the specified access rights for the current service application; otherwise, false.

See also

Reference

SPIisWebServiceApplication class

SPIisWebServiceApplication members

Microsoft.SharePoint.Administration namespace