User
Creates a new User object provided the user ID of the User.
Sample
Java
// This represents the Roblox account as a User
User user = new User(1);
// Prints the user's name
System.out.println(user.name);
Content copied to clipboard
Parameters
user Id
The User's user ID
Throws
Creates a new User object provided the username of the User.
Sample
Java
// This represents the Roblox account as a User
User user = new User("Roblox");
// Prints the User's name
System.out.println(client.name);
Content copied to clipboard
Parameters
username
The User's username