Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: SharePoint Foundation 2010
In this article
Property Value
Applies To
Remarks
Gets the current user of the site.
var value = SP.Web.get_currentUser();
Property Value
Type: SP.User
Applies To
Remarks
It must not be null.