Свойство Web.CurrentUser
Gets the current user of the site.
Пространство имен: Microsoft.SharePoint.Client
Сборки: Microsoft.SharePoint.Client.Silverlight (в Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (в Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (в Microsoft.SharePoint.Client.dll)
Синтаксис
'Декларация
Public ReadOnly Property CurrentUser As User
Get
'Применение
Dim instance As Web
Dim value As User
value = instance.CurrentUser
public User CurrentUser { get; }
Значение свойства
Тип: Microsoft.SharePoint.Client.User
A User object that represents the current user.
Замечания
It must not be пустая ссылка (Nothing в Visual Basic).