Praveen battula

hi all,
i am trying to get this thing from past 10 hours..
is there any way to aceess people search by anonymous users
i want to show people search results to anonymous users
is it possible
is there any way to get it.
please help me out.
i need it very urgent.
any help will be appreciate.
thanks in advance.
Praveen.



Re: SharePoint - Search People search to anonymous users in MOSS.

Bob Fox MVP

Off the top of my head I would say no this wouldnt be possible. Remember that MOSS 2007 now has security trimming enabled throughout so if you dont have access to something it wont be displayed. Think of the fact that you can now do a search for documents or sites and if your not a memeber of that site or have permissions to see the document then you will not be presented this in the Search Core Results web part. The same should hold true for people search.






Re: SharePoint - Search People search to anonymous users in MOSS.

Praveen battula

Hi Bob,
Thanks for your reply.
so finally, there is no way to search for people
but i need to implement it...
please tell me any other possible way.

or you can tell me, where all the user profile stored. in my profile database, i found a table called user profile_full. but it only contains usernames and their id's. where other records like department,......

thanks
Praveen.





Re: SharePoint - Search People search to anonymous users in MOSS.

Praveen battula

Hi Bob,
i found tables where all the properties belongs to user stored in the profile database.
thanks for your help.
Praveen.





Re: SharePoint - Search People search to anonymous users in MOSS.

Puneet Narula - MSFT

Technically you can make it work I think(though I havent tried it myself)

You need to make sure your anonymous user has rights to view the profiles. You will also need to make sure anonymous user has ViewForms right.

You might have problems with the social distance view but that view wouldnt make any sense for anonymous users anyways. So in the peoplecoreresults webpart you will have to make relevance view the default view and not show the social distance view.

I hope this solves your problem





Re: SharePoint - Search People search to anonymous users in MOSS.

Praveen battula

hi Punnet,
thanks for your reply.
i don't want to give permissions to anonymous users.
please can u suggest me how to search using BDC.
please refer, any links.
thanks
Praveen.





Re: SharePoint - Search People search to anonymous users in MOSS.

Wilkooooo

Hi,

Hm maybe you can try this:

Create your own webpart for displaying the search results, and run the search query in your webpart with elevated privileges (search for 'runwithelevatedprivileges').

regards,

Wilko





Re: SharePoint - Search People search to anonymous users in MOSS.

Bob Fox MVP

This can now open up into a new thread. Please resend this request as such and start a fresh thread on this subject. This will give others a chance to search on this topic.






Re: SharePoint - Search People search to anonymous users in MOSS.

Praveen battula

Hi Wilko,
thanks for the reply.
i will search and check it.
thanks
praveen.





Re: SharePoint - Search People search to anonymous users in MOSS.

Praveen battula

Hi Bob,
sure.i will open in a new forum
thanks
praveen.





Re: SharePoint - Search People search to anonymous users in MOSS.

Bob Fox MVP

Thank you Praveen.




Re: SharePoint - Search People search to anonymous users in MOSS.

rekrapt

Maybe it's just me, but it seems like this is a fairly simple question. I learned today that anonymous access is not at all what MOSS claims it is. You turn a list to anonymous, and anonymous users still can't look at it (like the Photo Gallery libary.) You have to use stsadm to disable the ViewFormLockDown feature (or something like that)... then go back into every single subsite and turn off anonymous access, then turn it back on.

Now, the People Search... I've got user profiles indexed properly... I can log in and do a People Search, but I want anonymous users to be able to use the People Search function too.

Can it be done Do I have to jump through a bunch of command line hoops or create some custom web part in C# or VB

Seems like a pretty straight-forward question to me:

Can user profiles or member lists be accessed by anonymous users Can People Search

I've searched every conceivable search phrase here, on Google and elsewhere and the answer is no where to be found. I'd hate to have to open up an MS Support Ticket (which my boss wants me to do on Monday) only to have them tell me I've been wasting my time and it's not possible.

Does anyone have a definitive answer to such a simple question






Re: SharePoint - Search People search to anonymous users in MOSS.

Puneet Narula - MSFT

I am not 100% sure what kind of answer you are looking for

If you mean can user profiles and hence people search be done by annonymous users OOB. Then the answer is no because they do not have the required previleges. It is not a typical scenario(afaik, you can give me your scenario and we can discuss) where you expose your AD accounts(or LDAP) to be searched or accessed by anonymous user.

But if your question is it possible then my reply is yes it should be possible if you follow my suggestion(posted previously in this thread) above and give those rights to the anonymous user.

As for your list issue to give you an understanding of why it behaves the way it behaves is because when you say anonymous user has rights to view the items it is different from saying they also have rights to view forms associated with this list. To give you a more concrete scenario as to why those are seperate rights say you want users to see some list items(say through CBQ webpart) you only need to give rights to the items and not for forms as you still might want nobody to access the list views.

OOB you are given a more locked down version and if you need to give certain rights to enable your particular scenario then it is possible to do it but you have to way the pros and cons of it explicitly before enabling it. As for the methodology to do it you can actually go to the UI and add the ViewFormPages right to the guest role in each site collection without actually deactivating the feature.

I hope this helps

-Puneet





Re: SharePoint - Search People search to anonymous users in MOSS.

rekrapt

Thanks for your response. It is my understanding that SharePoint has it's own user profiles that it populates by syncing up with AD once a new user authenticates. The User Profile Data is stored in a list format and you can configure which field elements of the profile you want available to who, everyone, just the owner, etc. Is this incorrect

As far as making the user list available to anonymous users, I go to:

Home > User Information List > Settings > Permissions > Anonymous Access

And set the permissions to "view". But, this does not allow anonymous users to access the People Search function. If it is possible, I'm obviously missing something. It seems to me that this isn't giving people access to the Active Directory... just the user profiles that were populated with data from the AD. Since, it looks like I'm supposed to be able to control which fields in that data are accesible, it shouldn't be a problem.

Am I wrong Do you know what I'm missing

Anonymous access in SharePoint is not at all intuitive. I understand that certain aspects of it were put in place to protect people from doing stupid things... but, the documentation isn't up front about it at all.






Re: SharePoint - Search People search to anonymous users in MOSS.

Puneet Narula - MSFT

Yes user profiles are synced from AD(or LDAP). User profile data is kept in SSP DB(I just want to emphasize here that it is kept in specific tables which do not have anything to do with sharepoint lists)

Depending on what behavior you are getting it could be one of 2 things (or it could be something else but you will have to give me more details on what error you are getting for me to say anything)

1. If you are getting access denied while going to search center or error then most likely the anonymous user doesnt have the ViewFormPages right in the site collection where your search center. If you remove the ListBoundTabstripcontrol from your page then you wont have to give those rights to the anonymous user. You can use another control called TabStripControl (parent of ListBoundTabStripControl) instead for getting tabs but then you wont be able to add tabs in a list. Any time you have to add a tab you will have to change the html of the page layout where you put it.

2. Second problem could be that you dont get any error you just dont get any results. The step that could be missing there is after changing the permissions you havent recrawled people profile.

I hear you about the hoops that you have to jump for enabling anonymous access and lack of documentation.

I hope this helps

-Puneet