Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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?

share|improve this question
    
Did you ever find the answer (or workaround) to this that you can add below? –  Alex Angas Jun 6 '11 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. –  shannon.stewart Jul 21 '11 at 14:53
    
@shannon.stewart: Could you post this comment as an answer? –  Kit Menke Aug 1 '11 at 13:55

2 Answers 2

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/

share|improve this answer
up vote 0 down vote accepted

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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