get_user_name

Syntax

native get_user_name(index, name[], len);

Usage

index
Client index, or 0 to retrieve the server hostname
name
Buffer to copy name to
len
Maximum buffer size

Description

Retrieves the name of a client or the server.

Return

Number of cells written to buffer