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)
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.