Expand Minimize
This topic has not yet been rated - Rate this topic

Web.CurrentUser property

Gets the current user of the site.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (in Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
public User CurrentUser { get; }

Property value

Type: Microsoft.SharePoint.Client.User
A User object that represents the current user.

It must not be null.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.