Share via


SPServiceApplication.CheckAdministrationAccess method

Determines whether the current user has the specified administration access rights for the service application.

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

Syntax

'Declaration
Protected Overridable Function CheckAdministrationAccess ( _
    rights As SPCentralAdministrationRights _
) As Boolean
'Usage
Dim rights As SPCentralAdministrationRights
Dim returnValue As Boolean

returnValue = Me.CheckAdministrationAccess(rights)
protected virtual bool CheckAdministrationAccess(
    SPCentralAdministrationRights rights
)

Parameters

Return value

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

See also

Reference

SPServiceApplication class

SPServiceApplication members

Microsoft.SharePoint.Administration namespace