Last post Oct 12, 2005 09:55 PM by alexdresko
Sep 24, 2005 02:40 PM|lilryno|LINK
RoleArrayList = RoleController.GetUsersInRole(PortalId, "BulletModerator")
ListBox1.Items.Add(objUserRoleInfo.Email.ToString) '*** Throws "Object Reference Not Set to an Instance of an Object"
Sep 24, 2005 06:21 PM|lilryno|LINK
Ok, I *think* I may have found a bug with DNN. I humbly say that. But what is returned to the UserRoleInfo.email is always blank although the other properties are there. UserID is one of those properties that is returned so I just took that and got a
UserInfo object which did, in fact, have the UserInfo.Membership.Email to get the info from.
Oh well...just a little bit more code required.
Oct 12, 2005 09:55 PM|alexdresko|LINK