Control Source property

Core concepts

Learn about the Source property used on all Microsoft Lync 2013 Controls.

Applies to: Lync 2013 | Lync Server 2013

In this article
Source property overview
Valid types
Expected types of strings
Additional resources

Source property overview

Use the Source property to provide contact or group identity. With controls such as PresenceIndicator and ContactCard, the Source property identifies the contact to display. With controls such as StartAudioCallButton and StartVideoCallButton, the Source property identifies a contact to include in a conversation. The Source property is used by the following controls:

Valid types

The Source property has three valid types:

Expected types of strings

The Source property expects the following types of localizable strings:

  • SIP URI

  • SMTP address

  • E.164 phone number

TipTip

Observe the following guidelines when using the Source property:

  • If the value is a string that does not contain the sip: prefix, the control performs a search, using the string specified as a search criteria, and loads the first contact in the result set matching the specified string. This behavior is not deterministic and yields the slowest performance.

  • If the value is a SIP URI string qualified by the sip: prefix, the contact is loaded using an exact match of the specified URI. This behavior is deterministic and yields better performance.

  • If the value is a Contact or DistributionGroup object, it's used without any changes. This behavior is deterministic and yields the best performance.

See also