Gets a properly-formatted display name for a contact.

Namespace: ININ.IceLib.People
Assembly: ININ.IceLib.People (in ININ.IceLib.People.dll) Version: 0.0.0.0 (22.3.0.218)

Syntax

C#
public string GetDisplayName(
	string firstName,
	string middleName,
	string lastName,
	string userId,
	string stationName,
	string companyName,
	string interactionAddress
)
Visual Basic
Public Function GetDisplayName ( _
	firstName As String, _
	middleName As String, _
	lastName As String, _
	userId As String, _
	stationName As String, _
	companyName As String, _
	interactionAddress As String _
) As String

Parameters

firstName
Type: System..::..String
Can be null. If not null, this parameter is the contact's first name.
middleName
Type: System..::..String
Can be null. If not null this parameter is the contact's middle name.
lastName
Type: System..::..String
Can be null. If not null this parameter is the contact's last name.
userId
Type: System..::..String
Can be null. If not null this parameter is the contact's IC user ID.
stationName
Type: System..::..String
Can be null. If not null this parameter is the contact's IC station name.
companyName
Type: System..::..String
Can be null. If not null this parameter is the contact's company name.
interactionAddress
Type: System..::..String
Can be null. If not null this parameter is the contact's interaction address.

Return Value

The correctly-formatted display name.

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.
For 3.0, supported for IC Server version 3.0 GA and beyond.

See Also