Share via


DataViewWebPart.IsPrivilegedUser Property

Indicates whether the user is a member of the Administrator site group for the site.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<WebPartStorageAttribute(Storage.None)> _
Public Overrides ReadOnly Property IsPrivilegedUser As Boolean
    Get
'Usage
Dim instance As DataViewWebPart
Dim value As Boolean

value = instance.IsPrivilegedUser
[WebPartStorageAttribute(Storage.None)]
public override bool IsPrivilegedUser { get; }

Property Value

Type: System.Boolean
true if the user is a Web administrator; otherwise, false.

See Also

Reference

DataViewWebPart Class

DataViewWebPart Members

Microsoft.SharePoint.WebPartPages Namespace