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
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