CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.dotnetnuke.getting_started Tags:
Item Type: NewsGroup Date Entered: 9/24/2005 6:40:05 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 45 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
lilryno
Asp.Net User
Role Member Emails9/24/2005 6:40:05 PM

0/0

Does anyone know how to get all the email addresses from all users in a specific security role?  I think I'm close to getting it...but it's not quite working out for me.  I'm not sure why.  Right now, I'm just trying to put all the email addresses into a listbox to verify the plumbing is working.  But it ain't working.  Thanks for any help.

Dim RoleController As New DotNetNuke.Security.Roles.RoleController

Dim RoleArrayList As ArrayList

Dim objUserRoleInfo As New UserRoleInfo

Dim x As Integer

RoleArrayList = RoleController.GetUsersInRole(PortalId, "BulletModerator") 'Fill the ArrayList with UserRoleInfo objects

For x = 0 To RoleArrayList.Count - 1

objUserRoleInfo = CType(RoleArrayList.Item(x), UserRoleInfo) 'Assign the UserRoleInfo Object to the one in the ArrayList

ListBox1.Items.Add(objUserRoleInfo.Email.ToString)  '*** Throws "Object Reference Not Set to an Instance of an Object"

Next


DotNetNuke Bronze Benefactor
lilryno
Asp.Net User
Re: Role Member Emails9/24/2005 10:21:00 PM

0/0

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.


DotNetNuke Bronze Benefactor
alexdresko
Asp.Net User
Re: Role Member Emails10/13/2005 1:55:57 AM

0/0

Perhaps I'll find the answer before someone replies, but I'm having the same issue but in v3.1.1.
Alex Dresko
I'm not a player, I just code a lot.
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Sarbanes-Oxley IT Compliance Using COBIT and Open Source Tools: IT Compliance Using COBIT and Open Source Tools Authors: Christian Lahti, Roderick Peterson, Pages: 333, Published: 2005
Reliability of Optical Fibres and Components: Final Report of COST 246 Authors: Michel Gadonna, Tarja Volotinen, European Cooperation in the Field of Scientific and Technical Research (Organization), W. Griffoen, Pages: 421, Published: 1999
Multimedia Networking: Technology, Management, and Applications Authors: Syed Mahbubur Rahman, Pages: 486, Published: 2002
Internet Law and Regulation Authors: Graham J. H. Smith, Pages: 1296, Published: 2007
Dreamweaver CS3 Bible: Master Every Aspect of Dreamweaver - Work with CSS, Text, Images, And Links - Incorporate Flash Movies and Other Media Authors: Joseph W. Lowery, Pages: 1112, Published: 2007
Inside Consumption: Consumer Motives, Goals, and Desires Authors: S. Ratneshwar, David Glen Mick, Pages: 356, Published: 2005
Community Health Nursing Projects: Making a Difference Authors: Elizabeth Diem, Alwyn Moyer, Pages: 496, Published: 2005
Open Modeling with UML Authors: Brian Henderson-Sellers, Bhuvan Unhelkar, Pages: 245, Published: 2000
Reconceptualizing Teaching Practice: Self-study in Teacher Education Authors: Mary Lynn Hamilton, Pages: 258, Published: 1998
Groupware: Design, Implementation, and Use : 11th International Workshop, CRIWG 2005, Porto de Galinhas, Brazil, September 25-29, 2005 : Proceedings Authors: Hugo Fuks, Stephan Lukosch, Ana Carolina Salgado, Pages: 378, Published: 2005

Web:
Role Member Emails - ng.asp-net-forum.dotnetnuke-getting_started ... Role Member Emails, > ROOT > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.dotnetnuke.getting_started, Date: 9/24/2005 6: 40:05 PM, ...
Role of email Role of Email. In designing an email service for the Norfolk voluntary sector, ... Sending email to a list ensures every member of the list receives a copy. ...
Organisational Role Email Addresses Members of this role, along with Heads and PersonalAssistants, will receive email to the [email protected] list. This contact list is for general ...
Send tokenized email to members of a role | drupal.org In building a lot of custom workflows, I've found that the ability to send an email to all users of a role would be useful, ...
Name: AI Role (group, student, member): Best Phone # to Reach you ... Nov 16, 2008 ... member):. Best Phone # to. Reach you:. Email:. Special needs:. Volunteer Role. Preference:. **All volunteers must be available Monday ...
iTzone - Using Role-Based Email Address in NTU Setting up multiple roles for this faculty member will allow him to use a different email configuration when acting as the organiser of the conference from ...
Clam AntiVirus Developer team permanent members:. Tomasz Kojm. Role: project leader; Email: tkojm at*clamav*net; Country: Poland; PGP key. and in alphabetical order . ...
ONE » Blog Archive » IMF Acknowledges Emails’ Role in Liberia Debt ... 241 Responses to “IMF Acknowledges Emails’ Role in Liberia Debt Relief! ...... Thanks to all of you One members who sent out emails to the IMF on our behalf ...
Secure Web with role-based access control mechanisms and secure ... The receiving role multiplies the email to each member. 3. If those member are roles again and not representatives of persons, the multiplication will ...
GBIF emailing lists Lists that only contain the officially appointed members of committees. These have the token "roles" in their email domain, and the role name in front of ...

Videos:
The role the brain plays in pain, The Mind Body Syndrome Welcome to the Mind Body Syndrome/Tension Myositis Syndrome Educational program developed by Howard Schubiner, MD ( Dr. Schubiner's email is ...
FtM Trans Teen : Role Models Link to the Second Secrets Vid: http://www.youtube.com/watch?v=Ft2tqt0tcqM Talk to me; email : [email protected] website: transboywonder ...
MaryCast OLAN #9: Mary's New Role & New Title Dr Mark Miravalle discusses the December 31,1951 message to Ida Peerdeman from Our Lady of All Nations. In this message, Mary explains the new ...
SS Norway and NCL's role-cruise ship crew I made this video after I was sent an email from someone saying how bad it was of NCL to get rid of the Norway in 2003. I decided to put my views ...
MaryCast Specials #16: Our Lady's Role in the Work of ...   In Part 1 of Dr Mark Miravalle's talk from the Marian Conference, Our Lady's Role in the Work of Salvation (Amsterdam, May 2008), Dr Mark ...
Role Models Full Movie Watch! Watch the full movie here! http://rolemodels.here.ws/ Just enter your email! Paul Rudd and Seann William Scott star in Role Models as ...
MaryCast Specials #19: Our Lady's Role in the Work of ... In Part 4 of Dr Mark Miravalle's talk from the Marian Conference, Our Lady's Role in the Work of Salvation (Amsterdam, May 2008), Dr Mark ...
writing email content(effective strategies) http://trafficcoleman.com/brent/ebook.htm effective email content is an important role in your marketing and campaign techniques.use this info and ...
MaryCast Specials #18: Our Lady's Role in the Work of ... In Part 3 of Dr Mark Miravalle's talk from the Marian Conference, Our Lady's Role in the Work of Salvation (Amsterdam, May 2008), Dr Mark ...
MaryCast Specials #18: Our Lady's Role in the Work of Salvat In Part 3 of Dr Mark Miravalle's talk from the Marian Conference, Our Lady's Role in the Work of Salvation (Amsterdam, May 2008), Dr Mark ...




Search This Site:










asp.net and domain host pointing

clean installation search doesn't work?

error: edit document entry is currently unavailable.

adding text to asp:textbox

changing dnn tab colors

ok,i'm trying to replicate the enhanced horizontal menu example

can you use mysql with asp.net???

adding meta tags

dnn3 module for support ticket system

login page redirect two time in different frames

problem installing visual studio 2005 pro

web services over ftp

how to publish a website using express edition

multiple custom error page

creating a module and getting parser error

user list of windows group

changing aspnet & networkservice to custom names

saving state information between server requests

can i have <authentication mode="forms"> in a web.config file in a subdirectory

winsock limitation

what is the best way to pass values from one page to the next?

ide line length

dock a toolbar with internet explorer

file attachment

far point spreadsheets

problems upgrading from dnn 2 to 3

uncompress files on server?

show/hide module based on another module

personal web site starter kit with sql 2005 already installed

try/catch application crash

 
All Times Are GMT