This tag outputs data associated with the currently logged in member.


Attributes


name - Indicates what type of data to output from the current member's account. Below is a list of acceptable values:


Value Description
id Outputs the current member's ID
firstName Outputs the current member's first name
lastName Outputs the current member's last name
username Outputs the current member's username
password Outputs the current member's password only in the Welcome Email. In all other cases, it will output astericks.
Please refer to 2.2.3 Release Notes for more information.
email Outputs the current member's email address
phone Outputs the current member's phone number
registrationDate Outputs the current member's registration date. Optionally use the dateFormat attribute to indicate how the date should be formatted. For more information, see the dateFormat attribute below.
statusChangedDate Outputs the date of the last status change on the current member's account. Optionally use the dateFormat attribute to indicate how the date should be formatted. For more information, see the dateFormat attribute below.
expirationDate Outputs the current member's expiration date. Optionally use the dateFormat attribute to indicate how the date should be formatted. For more information, see the dateFormat attribute below.
cancellationDate Outputs the current member's cancellation date. Optionally use the dateFormat attribute to indicate how the date should be formatted. For more information, see the dateFormat attribute below.
daysAsMember Outputs the number of days the current member has been a member
membershipId Outputs the ID of the current member's membership level
membershipName Outputs the name of the current member's membership level
statusId Outputs the ID of the current member's status
statusName Outputs the name of the current member's status
daysWithBundle_# Outputs the number of days the current member has had the bundle with ID # applied to their account. If they don't have the bundle applied to their account, -1 will be returned. For example, if the ID of the bundle is 4, you would use [MM_Member_Data name='daysWithBundle_4'] to retrieve the number of days it's been applied to the member's account.
customField_# Outputs the current member's value for the custom field with ID #. For example, if the ID of the custom field that stores birthday is 4 then to output the current member's birthday you would use [MM_Member_Data name='customField_4'].
billingAddress Outputs the current member's billing address
billingCity Outputs the current member's billing city
billingState Outputs the current member's billing state
billingZipCode Outputs the current member's billing zip code
billingCountry Outputs the current member's billing country
shippingAddress Outputs the current member's shipping address
shippingCity Outputs the current member's shipping city
shippingState Outputs the current member's shipping state
shippingZipCode Outputs the current member's shipping zip code
shippingCountry Outputs the current member's shipping country

dateFormat (optional) - By default, dates will be output in the format: Oct 14, 2013 12:14 pm. If you want to use a custom date format, use this attribute to specify what format you want the date to be in. Use standard PHP date format rules when defining a custom format.

Usage


Hi [MM_Member_Data name='firstName']!

Here are your login credentials:
Username: [MM_Member_Data name='username']
Password: [MM_Member_Data name='password']