|
|
posted on May 11, 2018 10:59
DotNetNuke.Security.Roles.RoleController rolesController = new DotNetNuke.Security.Roles.RoleController();
UserRoleInfo role = rolesController.GetUserRole(0, this.UserId, rolesController.GetRoleByName(0, "Donor").RoleID);
DateTime expiryDate = role.ExpiryDate;
lblDebug.Text = expiryDate.ToShortDateString();
There are currently no comments, be the first to post one!