Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Switch password auth to CLEAR Switch password auth to CLEAR
Previous
 
Next
New Post
9/19/2006 10:47 PM
 

Hi,

When we started our one DNN install we just went with the default configuration, so the passwords are encrypted. There are several 1000 users in the system already.

I'm now adding another portal to this install, and this must integrate with SalesForce, and I need to change the password standard to CLEAR so it's available for querying by the other application. I don't see a way to do this though. I can change the web.config setting, and it still seems to work after this - but what to do with all the passwords that are already in the system?

Could anyone help with this please? I understand the wisdom of keeping the passwords encrypted, and if there was a way to decrypt them on the fly via database queries only I'd keep them that way ... but I'm stumped. I've been looking at different options, and tried to query the current passwords via code and print them out to a seperate location, etc. but have had no luck.

Thanks!

 
New Post
9/21/2006 4:18 PM
 

Ok, one down ... I have my passwords now and can change to CLEAR, then update them all again.

Next up

I want to synch users' roles with my external application. I run queries to edit the UserRoles table and the ASPNET_UsersInRoles. It looks though like I need to enter the data somewhere more.

Here's what I do:

--INSERT USERS WHO HAVE BEEN ADDED TO THE TECHNICIAN ROLE
DECLARE @roleID nvarchar(50)
SELECT @ROLEID = (SELECT TOP 1 ROLEID FROM aspnet_roles INNER JOIN aspnet_Applications apps ON aspnet_roles.applicationID = apps.applicationID WHERE Rolename LIKE '%Service Training Mentor%' and apps.applicationname = 0)

--INSERT INTO aspnet_usersinroles (USERID, roleid)
SELECT distinct aspusers.userid, @ROLEID
FROM
[salesforce backup].dbo.contact contact inner join users on contact.userid__c = users.userid
left join aspnet_users aspusers on users.username = aspusers.username
--left join aspnet_usersinroles aspuir on aspuir.userid = aspusers.userid
--left join aspnet_roles aroles on aroles.roleid = aspuir.roleid
--inner join aspnet_applications apps ON aroles.applicationid = apps.applicationID
where functional_Role__C  LIKE '%Service Training Mentor%'
and aspusers.userid NOT IN
(SELECT UserID FROM aspnet_usersinroles aspuir INNER JOIN aspnet_roles aroles
on aspuir.roleid = aroles.roleid WHERE aroles.rolename like '%Service Training Mentor%')

The value is inserted, but I still don't see the newly added role when I go to either the user record or the Security Roles admin screen.

Does anyone know - what else does the

AspNetRoles.AddUserToRole(objUser.Membership.Username, objUserRole.RoleName)

do, other than add a record to aspnet_usersinroles ?

Thanks!

Rozanne

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Switch password auth to CLEAR Switch password auth to CLEAR


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out