Share via


SPServiceApplication.SetAdministrationAccessControl method

Applies control settings for administration access to the service application.

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

Syntax

'Declaration
Public Overridable Sub SetAdministrationAccessControl ( _
    security As SPCentralAdministrationSecurity _
)
'Usage
Dim instance As SPServiceApplication
Dim security As SPCentralAdministrationSecurity

instance.SetAdministrationAccessControl(security)
public virtual void SetAdministrationAccessControl(
    SPCentralAdministrationSecurity security
)

Parameters

Exceptions

Exception Condition
SecurityException

Current user does not have write permission.

ArgumentNullException

The object passed as an argument to the security parameter is a null reference (Nothing in Visual Basic).

See also

Reference

SPServiceApplication class

SPServiceApplication members

Microsoft.SharePoint.Administration namespace