Share via


WebUIContactPostActivatedEventArgs.Contact Property

Definition

Gets the contact for the post.

public:
 property Contact ^ Contact { Contact ^ get(); };
Contact Contact();
public Contact Contact { get; }
var contact = webUIContactPostActivatedEventArgs.contact;
Public ReadOnly Property Contact As Contact

Property Value

The contact for the post.

Implements

Remarks

Use the Contact property to collect additional info about the contact that is being posted to. The contact can have a name and thumbnail that can be used to represent it in your app’s UI. Or, the contact can have alternative user ids that can be used in case the primary user id is unavailable. The ConnectedServiceAccounts property contains a list of all services available for the contact. You can use the ContactConnectedServiceAccount.Id property on each service to retrieve alternative user ids.

Note

For post activations, the ConnectedServiceAccounts property is only populated with services that match the primary service that the activation was originally invoked for.

Here are possible Contact properties that can be populated during a post activation:

Applies to