You could use the Current User Filer web part:

http://office.microsoft.com/en-us/sharepointserver/HA100337861033.aspx

No need to create a custom web part.

Daniel

On Sun, Oct 26, 2008 at 5:19 PM, Sharepoint Consultant <
[EMAIL PROTECTED]> wrote:

> Hi,
>
> I am using the Search Core Results webpart and utilising a fixed keyword
> query.
>
> I need to return all content for the current user.
>
> My current keyword query is: author:machinename\Administrator
>
> This works great, however, I do not want to hardcode the username. I want
> it to pick up the user currenty logged in. Does anyone know how this can be
> done?
>   -------------------------------------------------------------------
> OzMOSS.com - to unsubscribe from this list, send a message back to the list
> with 'unsubscribe' as the subject.
> Powered by mailenable.com



------------------------------------------------------------------- OzMOSS.com 
- to unsubscribe from this list, send a message back to the list with 
'unsubscribe' as the subject.
Powered by mailenable.com

Reply via email to