Share via


SPAdministrationWebApplication.CurrentUserIsDelegatedAdministrator method

Determines whether the current user is a delegated administrator of this administration Web application.

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

Syntax

'Declaration
Public Function CurrentUserIsDelegatedAdministrator As Boolean
'Usage
Dim instance As SPAdministrationWebApplication
Dim returnValue As Boolean

returnValue = instance.CurrentUserIsDelegatedAdministrator()
public bool CurrentUserIsDelegatedAdministrator()

Return value

Type: System.Boolean
true if the current user is a member of the delegated administrators group; otherwise, false.

See also

Reference

SPAdministrationWebApplication class

SPAdministrationWebApplication members

Microsoft.SharePoint.Administration namespace