Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Forms Based Authentication Audience

  Asked By: Abner    Date: Jul 10    Category: Sharepoint    Views: 2643

I have seen something somewhere (can't find it now) about creating an audience
of just Forms Based Authentication users. I am trying to set a web part to only
display for Forms Based Authenticated users. I have created a Role that will
include all FBA users, created a SharePoint permissions group, added the role to
the permissions group, and added that permissions group as the targeted audience
for a webpart. It doesn't work. The webpart is the change password
webpart from the CKS-FBA project. It doesn't do any good to a Windows
Authenticated users, and my FBA users can't see it, so it winds up being pretty
much useless to me all around. Does anyone have any ideas?

Share: 

 

4 Answers Found

 
Answer #1    Answered By: Erika Price     Answered On: Jul 10

firstly add a FBA user as secondary administrator to you current web
application via central administrator, and now deploy the webParts and
perform audience  targeting with this FBA user login.. I'm sure this will
work..

 
Answer #2    Answered By: Otis Blackwell     Answered On: Jul 10

Unfortunately, this solution didn't work. There are only two users  who can see
the webpart, which are the site collection Admins.

 
Answer #3    Answered By: Virendar Chaudhari     Answered On: Jul 10

I tried to implement your solution, and now I have a new problem.

When I tried to click on the link (Central Admin - Application Mamangement -
SharePoint Site Management - Site Collection Administrators) I get an error
message on the _admin/owners.aspx page.

Object reference not set  to an instance of an object. at
Microsoft.SharePoint.WebControls.SiteAdministrationSelector.DefaultSelectionId()
at Microsoft.SharePoint.WebControls.ContextSelector`1.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Even this information is no help. (how many times does the Object reference
error show up?)

Anyone have any thoughts?

 
Answer #4    Answered By: Mitchel Villarreal     Answered On: Jul 10

Solved my own issue, somewhat accidentally. I went to my site collection and
added both administrator roles there, then went back to CA and it worked so I
was able to add my FBA user as a site collection admin.

 
Didn't find what you were looking for? Find more on Forms Based Authentication Audience Or get search suggestion and latest updates.




Tagged: