SPIisWebServiceApplication.CheckAccess method
會決定目前使用者是否有指定的存取權的服務應用程式。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Protected Overridable Function CheckAccess ( _
rights As SPIisWebServiceApplicationRights _
) As Boolean
'用途
Dim rights As SPIisWebServiceApplicationRights
Dim returnValue As Boolean
returnValue = Me.CheckAccess(rights)
protected virtual bool CheckAccess(
SPIisWebServiceApplicationRights rights
)
參數
rights
Type: Microsoft.SharePoint.Administration.AccessControl.SPIisWebServiceApplicationRights若要檢查的存取權限。
傳回值
Type: System.Boolean
true目前使用者是否為目前的服務應用程式 ; 指定的存取權限否則,請false。
請參閱
參照
SPIisWebServiceApplication class