Partilhar via


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)
Available in Sandboxed Solutions: No

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