You are here: Ektron Namespace > Server Controls API > Ektron.Cms Namespace > Ektron.Cms.Controls Namespace > Classes > Friends Class > Friends Properties > Link
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Friends.Link Property

Enter a link to the user profile page. This allows a user to click a link in the Colleagues control and be taken to the user’s profile page. There are two variables used within the link that represent the user’s ID and the user’s display name.  

{0} - represents the user’s ID. 

{1} - represents the user’s display name. 

You need to have both variables in the link. The Web form can be relative or absolute. Below is an example. 

userprofilepage.aspx?uid={0}&dn={1}

C#
[ Bindable(true), Category("Ektron"), DefaultValue("Use QuickLink"), TypeConverter(typeof(FavoriteLinkConverter)), Description("The user link. {0} is the user ID and {1} is the user display name.") ]
public string Link;
Visual Basic
< Bindable(true), Category("Ektron"), DefaultValue("Use QuickLink"), TypeConverter(typeof(FavoriteLinkConverter)), Description("The user link. {0} is the user ID and {1} is the user display name.") >
Public Property Link() As string
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!