Lync 2010 change display name of sender

1.4k views Asked by At

Does anyone know how to override the display name of the sender of an instant message using the Microsoft.Lync API?

Thanks

1

There are 1 answers

0
w5l On

It should be possible using Conversation.Impersonate(...), which contains the following option:

displayName

Type: System.String
The display name of the user to impersonate. Optional.

However, when I tried it, setting the displayname changed nothing. I ended up just setting the uri property to [email protected] to show the username. It looks like the Lync client only displays usernames for known users.