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

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