Obtain a contact's full name from its component parts.
Namespace: Asi.iBO.ContactManagementAssembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.3.0
Syntax
| C# |
|---|
public static string GetFullName( IiMISUser boUser, string prefix, string firstName, string middleName, string lastName, string suffix, string designation, string title, string informal ) |
| Visual Basic |
|---|
Public Shared Function GetFullName ( _ boUser As IiMISUser, _ prefix As String, _ firstName As String, _ middleName As String, _ lastName As String, _ suffix As String, _ designation As String, _ title As String, _ informal As String _ ) As String |
| Visual C++ |
|---|
public: static String^ GetFullName( IiMISUser^ boUser, String^ prefix, String^ firstName, String^ middleName, String^ lastName, String^ suffix, String^ designation, String^ title, String^ informal ) |
Parameters
- boUser
- Type: Asi.iBO..::..IiMISUser
The user object to be used if the database is accessed.
- prefix
- Type: System..::..String
The initial beginning title component, for example, Mr., Ms., etc.
- firstName
- Type: System..::..String
The first name component.
- middleName
- Type: System..::..String
The middle name component.
- lastName
- Type: System..::..String
The last name component.
- suffix
- Type: System..::..String
The suffix component.
- designation
- Type: System..::..String
The designation component, for example, Jr., Sr., etc.
- title
- Type: System..::..String
The title component, for example, M.D., PhD, etc.
- informal
- Type: System..::..String
The informal name component.
Return Value
A version of the input string formatted according to either the custom stored procedure's rule or those of the default processing.
Remarks
If UseFullNameStoredProcedure is true,
then stored procedures will be used to determine the full name.
If a stored procedure named sp_asi_GetFullNameCustom
exists in the database, then it will be used instead of the
default sp_asi_GetFullName stored procedure.
If UseFullNameStoredProcedure is false,
then a native method (FormatFullName(String, String, String, String, String, String)) will be used.
This will improve overall performance, due to reduced database
activity, but may result in a string that is inconsistent
from Customer Portfolio processing.