Stump the Panel Topic: Use part of LoginName as a Data Form Parameter http://www.endusersharepoint.com/STP/ SharePoint QA en Tue, 19 May 2009 19:47:45 +0000 nathan on "Use part of LoginName as a Data Form Parameter" http://www.endusersharepoint.com/STP/topic/use-part-of-loginname-as-a-data-form-parameter#post-6694 Thu, 14 May 2009 19:44:24 +0000 nathan 6694@http://www.endusersharepoint.com/STP/ <p>Hi,<br /> I'm using<br /> &lt;WebPartPages:DataFormParameter Name="staffname" ParameterKey="staffname" PropertyName="ParameterValues" DefaultValue="nlb"/&gt;<br /> to pass a Parameter to a SQL connection.<br /> I need to replace the DefaultValue (nlb) with the LoginName of the sharepoint user.<br /> Firstly, how can I do that?<br /> Secondly, the Loginname returns domain\user = I need to remove the "domain\" before it is passed...</p> <p>Any help would be appreciated...</p> <p>Nathan </p>