// DNN Get Current User
// The Current user information can fetch using UserController and
// is availble as UserInfo object:
private UserInfo _currentUser =
DotNetNuke.Entities.Users.UserController.GetCurrentUserInfo();
// To get UserID of the current user we can then access the fetched UserInfo object:
int UserID = _currentUser.UserID
// The Current user information can fetch using UserController and
// is availble as UserInfo object:
private UserInfo _currentUser =
DotNetNuke.Entities.Users.UserController.GetCurrentUserInfo();
// To get UserID of the current user we can then access the fetched UserInfo object:
int UserID = _currentUser.UserID