<xmod:user>

TEMPLATE CONTROL: This tag displays information about a DotNetNuke user. You can display information related to 3 different types of user: the user who created the record, the user who last updated the record, and the current user viewing the record (assuming the viewer is logged-in).

 

ATTRIBUTES:

type

Determines which user's information is displayed. Valid values are listed below:

- add Displays information from the user who created the record.

- update Displays information from the user who last updated the record.

- current Displays information about the user currently viewing the record if the viewer is logged-in.

class

Name of the CSS Class used to style this field (Optional) [String value]

field

Use this attribute to specify what information is displayed. Valid values are listed below:

  • city User's city

  • country User's country

  • createddate Date the user's record was created

  • email The user's email

  • firstname The user's first name

  • fullname The user's full name

  • displayname: The user's display name. Available in DNN 3.3+/4.3+ only. New to version 4.7.

  • lastlogindate The date the user last logged in

  • lastname The user's last name

  • postalcode The user's postal code

  • region The user's region

  • street The user's street address

  • telephone The user's telephone number

  • unit The user's unit address

  • userid The user's userid

  • username The user's username

  • usercell The user's cell/mobile phone number. New to version 4.5

  • userfax The user's FAX number. New to version 4.5

  • userim The user's instant messaging ID/address. New to version 4.5

  • userlocale The preferred locale specified in the user's profile. New to version 4.5

  • usertimezone The timezone specified in the user's profile. New to version 4.5

  • userwebsite The website of the user as supplied in the user's profile.. New to version 4.5

  • custom profile field name Beginning with DNN 3.3/4.3, site administrators can define custom profile fields. Using the name of that field will retrieve its value. This is not valid in DNN versions prior to 3.3 and 4.3.. New to version 4.5

 

 

 

EXAMPLE

Added By: <xmod:user type="add" field="fullname" class="NormalBold"/>