Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SPServiceApplication.DemandAdministrationAccess method

Throws an exception if the current user does not have the specified administration rights for the service application.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
protected virtual void DemandAdministrationAccess(
	SPCentralAdministrationRights accessRights
)

Parameters

accessRights
Type: Microsoft.SharePoint.Administration.AccessControl.SPCentralAdministrationRights

The administration access rights to demand.

ExceptionCondition
SecurityException

The current user does not have the specified administration rights for the service application.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.