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)
Available in Sandboxed Solutions: No

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