|
|
Custom Modules
DotNetNuke Custom Modules
NO
Image:
DNN Expert posted on September 27, 2014 07:10

using DotNetNuke.Entities.Profile;
string _value = GetUserProfilePropertyValue("MyCustomProfileField").ToString();
public string GetUserProf...
[Read the rest of this article...]
DNN,
ProfileProperty
DNN Expert posted on September 23, 2014 05:34

public void SetPageName(string PageName)
{
try
{
DotNetNuke.Framework.CDefault CustomPageName = (D...
[Read the rest of this article...]
DNN
DNN Expert posted on July 06, 2014 07:56
public void GetPreviousAgents(string _AgentRole)
{
try
{
DotNetNuke.Security.Roles.RoleController objRoleController = new DotNetNuke.Securit...
[Read the rest of this article...]
DNN,
GetUsersByRoleName,
C#
DNN Expert posted on June 24, 2014 08:53
protected override void OnInit(EventArgs e)
{
base.OnInit(e);
JavaScript.RequestRegistration(CommonJs....
[Read the rest of this article...]
DNN Expert posted on April 17, 2014 06:44

Note that you must define a login page in the Admin/Site Settings module.
if (!IsPostBack)
{
if (UserId == -1)
{
Response.Redirect(Globals....
[Read the rest of this article...]
DNN Expert posted on December 16, 2013 08:18
UserInfo u = new UserInfo();
u = UserController.GetUserById(PortalId, DnnUserId);
...
[Read the rest of this article...]