Home Sign In

Steven Van de Craen's Blog [MVP]

Bloggings about SharePoint, .NET and more.

MVP SharePoint Server

RSS Feed
  • Contact Me

Archives

July 2007 (19)
August 2007 (5)
April 2008 (4)
September 2007 (3)
November 2007 (12)
October 2007 (4)
December 2007 (8)
January 2008 (6)
February 2008 (3)
March 2008 (4)
June 2008 (3)
July 2008 (1)
August 2008 (2)
September 2008 (2)
October 2008 (5)
November 2008 (3)

Categories

  • SharePoint 2003
  • SharePoint 2007
  • General
  • Office 2003
  • Office 2007
  • Excel Services
  • Dynamics NAV
  • SOAP
  • Search
  • Search Server 2008
  • .NET
  • CKS
  • IIS
  • VBA
  • Forms Server
  • SharePoint Updates

Recent Posts

  • SharePoint and jQuery coolness
  • SharePoint: Sharing data over applications ?
  • SharePoint 2007 and ZIP indexing
  • Infrastructure Update, August Update, October Update, Service Pack 2
  • Forms Server: userName() function and Forms Based Authentication

Other Blogs

//BLOG: naked programmer
JOPX
Jan Tielens' Bloggings [MVP]
Serge van den Oever [Macaw]
Carlos Segura Sanz
Remco Ploeg's Blog
SharePoint Blogs
Romeo Pruno
Andrew Connell [MVP MOSS]
Mark Harrison
Pedro Serrano
Clemens Vasters and the Indigettes
Kevin Boske
SharePoint Team Blog
Brian Jones: Office XML Formats
Mart Muller's Sharepoint Weblog
Joel Oleson's SharePoint Land
Kris' blog
STSADM Custom Extensions
Microsoft Enterprise Search Blog
Michaël's coding thoughts
Chris O'Brien's blog
John Holliday's SharePoint Reflections
Koen's blog
PDT IT Services Blog Posts
.net palace (Benjamin Geens)
Mike Walsh's WSS and more
Patrik Luca's Blog
deyaert's blog

Forms Server: userName() function and Forms Based Authentication

So you have an InfoPath 2007 form that renders as a Web page and you use the userName() function to get the current user. This works fine when you're using Windows Authentication but stays empty when you're using Forms Based Authentication !!

Also note that for Windows Authentication it doesn't return the domain part just username...

 
Categories: Forms Server, SharePoint 2007

Trackback Url

 

Comments

Leave a comment

Name

Url

Email

Comments

CAPTCHA Image Validation

© 2007 Steven Van de Craen — Powered by Community Kit for SharePoint: Enhanced Blog Edition.