Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

Profile Control

Ff748163.note(en-us,MSDN.10).gifNote:
Current information about Live Connect is now available in the Windows Live Developer Center. The information in the following sections is provided for legacy purposes only.

The Profile control displays a contact's display picture, display name, and personal message. It is represented in markup by the profile tag.

Ff748163.note(en-us,MSDN.10).gifNote:
If you want to access a user's information, and if you have not scoped your application to use Messenger.SignIn, you must use the UserInfo Control.

The following example shows how to insert the Profile control into a web page.

<wl:profile
   cid="-0123456789">
</wl:profile>

The following table lists the attributes for the Profile control.

Name Type Required Default Value Description

cid

String

Yes

none

Specifies the CID of the contact whose profile is displayed. If you set the CID to $user, the user's own profile is displayed.

editable

Boolean

No

true

Sets whether the profile is editable. This is applicable only if the CID is set to $user. Otherwise, it is ignored.

display-picture-size

small | medium | large

No

large

Sets the size of the display picture.

linked

Boolean

No

true

Sets whether the display name should be a hyperlink to the user's profile page.

The following screen shots show the Profile control and different display picture sizes.

Contact user area for Profile control

Small Medium Large
Small Display Picture control
Medium Display Picture control
Large Display Picture control
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.