Monday, February 06, 2012     | Register
Welcome to the Support Forums

In order to post to the support forums, you must be logged in as a registered user.


These forums are not moderated and may not be checked for a few days, so any important support issues should be emailed directly to support at orizonti.com for the fastest response.

Orizonti Forums
Subject: GetUserRolesByRoleName

You are not authorized to post a reply.   
Author Messages
smallfootprint
Posts:5

1/22/2007 10:13 AM Alert 

Hi,

I receieved the following error message:

sendNewsletter.ascx.vb(211) : error BC30456: 'GetUserRolesByRoleName' is not a member of
'DotNetNuke.Security.Roles.RoleController'.

211: arrUsers = objRoleCtl.GetUserRolesByRoleName(PortalId, objRole.Text)

Could you help me?

Thanx !
smallfootprint
Posts:5

1/22/2007 10:25 AM Alert 

I used:
Orizonti Newsletter 1.2 Source Code
DotNetNuke_3.2.2_Source
Visual Studio 2003, 1.1


rstieb
Posts:738

1/23/2007 1:21 PM Alert 
I've responded to your email... Here's the answer for others looking:

The DNN core team has changed that method name... It was previously called:

GetUsersInRole

Just change the method name and that should take care of the build error...

Thanks,
Russel
smallfootprint
Posts:5

1/24/2007 3:53 AM Alert 
It is working now!

Thanks,
Doru
You are not authorized to post a reply.
Forums > Orizonti DNN Module Support > Newsletter > GetUserRolesByRoleName



ActiveForums 3.6
Copyright (c) 2012 Orizonti Group Inc.   |  Privacy Statement  |  Terms Of Use