开发者

XSl parameter current display name in SharePoint 2010

I'm using a search core results and using xsl to filter the results based on the Author in a discussion list. LOG开发者_运维问答ON_USER as parameter, it works fine when the Author displays the login. But if the Author displays the display name it does not mach the LOGON_USER.

Is there a way of setting a xsl parameter to point to the current user display name or last name and first name?


You can use UserLookup function of ddwrt namespace in XSLT to return user login based on display name, check out:

http://msdn.microsoft.com/en-us/library/dd583143(v=office.11).aspx#officesharepointddwrt_userlookup

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜