SPWeb.UserIsSiteAdmin 属性

Gets a Boolean value that indicates whether the user has administrative rights on the website, including ManageSubwebs, ManagePermissions, and ManageWeb permissions.

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public ReadOnly Property UserIsSiteAdmin As Boolean
    Get
用法
Dim instance As SPWeb
Dim value As Boolean

value = instance.UserIsSiteAdmin
public bool UserIsSiteAdmin { get; }

属性值

类型:System.Boolean
true if the user has administrative rights for the site collection; otherwise, false.

另请参阅

引用

SPWeb 类

SPWeb 成员

Microsoft.SharePoint 命名空间