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
rights
Type: Microsoft.SharePoint.Administration.AccessControl.SPIisWebServiceApplicationRightsThe access rights to check.
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