Export (0) Print
Expand All
Expand Minimize
0 out of 1 rated this helpful - Rate this topic

SPWeb.CurrentUser property

Gets the current user of the site.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.NotNull)]
[ClientCallableAttribute]
public SPUser CurrentUser { get; }

Property value

Type: Microsoft.SharePoint.SPUser
An SPUser object that represents the current user.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.