Difference between revisions of "User formatName"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "Category:User_Functions {{HelpFiles}} = User_formatName = Get Full name of user from the user object == Syntax == User_formatName(user); == Arguments == ''user'': u...")
 
(Tag: visualeditor)
 
Line 12: Line 12:
  
 
== Arguments ==
 
== Arguments ==
''user'': user object.
+
''user'': [[User new|user object]].
  
 
== Return type ==
 
== Return type ==

Latest revision as of 08:59, 16 October 2017



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)