User formatName

From Catglobe Wiki
Revision as of 08:59, 16 October 2017 by Nguyenduyan (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



User_formatName

Get Full name of user from the user object

Syntax

User_formatName(user);

Arguments

user: user object.

Return type

String. Full name of the user: FirtName MiddleName LastName (Username)

Example

array user = User_getUserByResourceId(10768810); 
string name = User_formatName(user);
print(name); // Jones Smith (JonesSmith)