共用方式為


SPWebService.RemoteAdministratorAccessDenied property

若為 true,所有來電 SPFarm.CurrentUserIsAdministrator() 會都傳回 false http 要求期間。此設定就在管理中心網站上的沒有作用。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Property RemoteAdministratorAccessDenied As Boolean
    Get
    Set
'用途
Dim instance As SPWebService
Dim value As Boolean

value = instance.RemoteAdministratorAccessDenied

instance.RemoteAdministratorAccessDenied = value
public bool RemoteAdministratorAccessDenied { get; set; }

Property value

Type: System.Boolean
傳回 Boolean

請參閱

參照

SPWebService class

SPWebService members

Microsoft.SharePoint.Administration namespace