4

I have a publishing SharePoint site set up that allows self-provisioning accounts. I'm using ADMembershipProvider, along with the LdapRoleProvider. When user's create an account, they are automatically added to a default AD group, which is already added to the built in Visitors SharePoint group. So once the user creates an account and logs in, he/she has access to the landing page.

We have some web parts that we set up to display only to certain user's in AD groups. With this, we chose to use audiences. After entering the AD group in the audience for the web part, it does not display even if the current user is assigned to that AD group. I found a blog post that explains exactly what is happening, but even after trying his suggestion, it still is not working.

LdapRoleProvider and Audience Targeting Bug

Has anyone had any success with this?

3
  • Did you ever find the answer (or workaround) to this that you can add below?
    – Alex Angas
    Jun 6, 2011 at 5:58
  • 1
    I went a different route with what I was trying to accomplish. Audiences weren't going to work for me, since I needed the change to happen immediately after the user clicked the button to hide/display a webpart. I later learned about personalization in SharePoint, and this solved what I was trying to do. Jul 21, 2011 at 14:53
  • @shannon.stewart: Could you post this comment as an answer?
    – Kit Menke
    Aug 1, 2011 at 13:55

2 Answers 2

0

do you have a users' group in sharepoint? or the user group comes from AD?

Have you try to setup an audience rule?

http://www.codeguru.com/csharp/.net/net_data/sortinganditerating/article.php/c13255__2/

0

I went a different route with what I was trying to accomplish. Audiences weren't going to work for me, since I needed the change to happen immediately after the user clicked the button to hide/display a webpart. I later learned about personalization in SharePoint, and this solved what I was trying to do.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.