0

I have few people/group picker on a infopath form. It's working fine but it populates the field with username (without the domain and that's fine).

However, I need this to be "Display Name" or full name instead of user name. Now I know a long way to set this up based on hooking to userprofile web services.

If there is no out box way then I guess I can have c# code to get the name without calling the webservices. Basically, I want to minimize server/client communication.

4

1 回答 1

0

只需将 UserName() 作为 DisplayName 和 AccountId 的默认值。这对我行得通。

如果您仍然有问题,可以这样做: http ://claytoncobb.wordpress.com/2009/06/21/userprofileservice-extended/

于 2012-09-14T08:01:50.690 回答