0

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

Thanks

MicroMan
  • 1,988
  • 4
  • 32
  • 58

1 Answers1

0

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 someusername@example.org to show the username. It looks like the Lync client only displays usernames for known users.

w5l
  • 5,341
  • 1
  • 25
  • 43