|
|
posted on January 23, 2020 07:59
private string GetDisplayName(int PortalId, int UserId)
{
string UserDisplayName = "";
DotNetNuke.Entities.Users.UserInfo userInfo = DotNetNuke.Entities.Users.UserController.GetUserById(PortalId, UserId);
if (userInfo != null)
UserDisplayName = userInfo.DisplayName;
return UserDisplayName;
}
There are currently no comments, be the first to post one!