Home > Default > User profile services

User profile services

November 30Hits:0
Advertisement
set my username control to load automatically from user profile services, but each time it loads, it comes in this format
i:0#.w|domain\username
please how can I clean the unwanted syntax (I:0#.w|) before the domain name

Answers

Hi Menyki,
You can use the following formula to get the substring after the special character "|" in your InfoPath form, in this case it's domain account domain\username, for more information you can check the following article.
substring-after(username(),"|")
http://stevessharepointnuggets.blogspot.jp/2012/03/infopath-2010-using-user-profile.html
Thanks
Daniel Yang
TechNet Community Support

Read other 2 answers

Tags:

Related Articles

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 14 q. 0.480 s.