Share via


SPWebService.RemoteAdministratorAccessDenied property

If true, all calls to SPFarm.CurrentUserIsAdministrator() will return false during http requests. This setting has no effect on the central administration site.

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

Syntax

'Declaration
Public Property RemoteAdministratorAccessDenied As Boolean
    Get
    Set
'Usage
Dim instance As SPWebService
Dim value As Boolean

value = instance.RemoteAdministratorAccessDenied

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

Property value

Type: System.Boolean
Returns Boolean.

See also

Reference

SPWebService class

SPWebService members

Microsoft.SharePoint.Administration namespace