CheckAccess Method

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

protected virtual bool CheckAccess(
	SPIisWebServiceApplicationRights rights
)

Return Value

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