Click or drag to resize
ActivityTitleBuilderCreateTitleWithUserName Method
Creates title for given activityType and user information in visitorData. Title is read from resources.

Namespace: CMS.Activities
Assembly: CMS.Activities (in CMS.Activities.dll) Version: 11.0.0
Syntax
C#
public string CreateTitleWithUserName(
	string activityType,
	VisitorData visitorData
)

Parameters

activityType
Type: SystemString
Activity type
visitorData
Type: CMS.ActivitiesVisitorData
Visitor data to create title from; if null default resource string is used

Return Value

Type: String
Title with included user name.
Exceptions
ExceptionCondition
ArgumentNullExceptionIs thrown if activityType is null or empty
See Also