SharePoint: how retrieve current user information from JavaScript CSOM

I found in the article get current logged user name & its ID in sharepoint 2010 using jquery how to get information about the current user from JavaScript CSOM.
The interesting thing is that this approach can also be used in synchronous programming (even if it is not optimal).

Add comment