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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationHow Do I Disable "Manage Profile" (disable ability to edit User info)?How Do I Disable "Manage Profile" (disable ability to edit User info)?
Previous
 
Next
New Post
4/21/2008 12:25 PM
 

I have a 4.8.2 DNN website using Windows Active Directory for Authentication.  I want to disable the ability for a user to edit their profile.  How do I do this?  Is it a simple column change in SQL Server?  Thanks.

 
New Post
4/22/2008 1:43 AM
 

I'll have to dig into the core code to see what needs to be changed but if you have Synchronize checked any changes they make should be overwritten the next time they log in anyway.

I guess my main question would be whether the site is AD only or if you've got external users using it. If it's AD only then it's just a matter of finding the correct .ascx and disabling/hiding the link. If it's both AD and external then it's going to require a core change and a recompile of the DNN .dll.

 
New Post
4/22/2008 3:37 PM
 

The site is AD only.  No external users.  

I have been trying to find the correct ascx, but I haven't found it yet.  I'm glad to see that I was at least doing the right thing (possibly).  I'll keep looking.

Thanks.

 
New Post
4/22/2008 4:48 PM
 

ManageUsers.ascx and the line you're looking for is:

<dnn:commandbutton id="cmdProfile" runat="server"
     resourcekey="cmdProfile" imageurl="~/images/icon_users_16px.gif"
     causesvalidation="False"  />

Just add a Visible="False" to it. A side effect is that it won't be visible when you're logged in as an admin or host user either though there's probably some Javascript that could be added you could make it visible for someone with those credentials.

 
New Post
4/22/2008 5:53 PM
 

 

I tried that, but it still didn't work.  This is what I have:

   <td nowrap valign="bottom">
    <dnn:commandbutton id="cmdProfile" runat="server"
     resourcekey="cmdProfile" imageurl="~/images/icon_users_16px.gif"
     causesvalidation="False" visible="False"/>
   </td>

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationHow Do I Disable "Manage Profile" (disable ability to edit User info)?How Do I Disable "Manage Profile" (disable ability to edit User info)?


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