I have the unique requirement of needing to get the current user's id (domain\logon) for use within a Content Query Web Part. If no documents are retrieved with the CQWP I need to craft a custom url in the format site/employees/currentuserlogon/. How do i get that information?
The proposed functionality would be as follows:
A user accesses a generic top level page with a Content Query Web Part pulling the most recent form that the user authored. If there is no form that the user authored, than a custom link will appear that allows the user to create a form. The link is user specific, using the logon account as part of the site path.