SPWeb.CurrentUser 属性
Gets the current user of the site.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public ReadOnly Property CurrentUser As SPUser
Get
用法
Dim instance As SPWeb
Dim value As SPUser
value = instance.CurrentUser
public SPUser CurrentUser { get; }
属性值
类型:Microsoft.SharePoint.SPUser
An SPUser object that represents the current user.