Thursday, August 16, 2012

Sharepoint: Get Current Login User

Get Current Login User using c# in Sharepoint

Ex.
var currentUser = SPContext.Current.Web.CurrentUser.LoginName;

No comments:

Post a Comment